From 22c70edcc4f9eab5e970dc87971f85c2064440f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 24 Nov 2020 16:00:47 +0800 Subject: [PATCH] ad --- business/jxstore/cms/user2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/user2.go b/business/jxstore/cms/user2.go index bb49f75e2..f77b2744d 100644 --- a/business/jxstore/cms/user2.go +++ b/business/jxstore/cms/user2.go @@ -681,7 +681,7 @@ func UpdateUser(ctx *jxcontext.Context, payload map[string]interface{}) (err err } } else { //邀请过4人直接开通一个月会员并创建群组 - if user2.PopCount%4 == 0 && user2.PopFlag == model.NO { + if user2.PopCount%1 == 0 && user2.PopFlag == model.NO { _, err = InvestMember(ctx, 1, user2.UserID, true) user2.PopFlag = model.YES dao.UpdateEntity(db, user2, "PopFlag")