Commit 04be167b authored by chenweijian's avatar chenweijian

游戏1v1

parent 990b2c17
...@@ -17,10 +17,12 @@ func CreateGroup() { ...@@ -17,10 +17,12 @@ func CreateGroup() {
_ = c.AddFunc(spec, func() { _ = c.AddFunc(spec, func() {
var model = domain.CreateModelNil() var model = domain.CreateModelNil()
userId := uint64(7687) userId := uint64(7687)
num := 20
if config.AppIsRelease() { if config.AppIsRelease() {
userId = 8350311 userId = 8350311
num = 1000
} }
err := group_s.NewGroupService(model.MyContext).CreateGroupMulByUid(userId, 1000, group_e.TwoMicNumType) err := group_s.NewGroupService(model.MyContext).CreateGroupMulByUid(userId, num, group_e.TwoMicNumType)
if err != nil { if err != nil {
model.Log.Errorf("CreateGroupMulByUid fail:%v", err) model.Log.Errorf("CreateGroupMulByUid fail:%v", err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment