From 04be167b5ad9829fac79e27a5ee4a78b4e1492cd Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Wed, 16 Aug 2023 14:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F1v1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron/group_cron/create_group.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cron/group_cron/create_group.go b/cron/group_cron/create_group.go index db0f30d..8bbf7c7 100644 --- a/cron/group_cron/create_group.go +++ b/cron/group_cron/create_group.go @@ -17,10 +17,12 @@ func CreateGroup() { _ = c.AddFunc(spec, func() { var model = domain.CreateModelNil() userId := uint64(7687) + num := 20 if config.AppIsRelease() { 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 { model.Log.Errorf("CreateGroupMulByUid fail:%v", err) } -- 2.22.0