This commit is contained in:
苏尹岚
2020-12-31 10:49:02 +08:00
parent 1a954ad675
commit 29cd7f3952
2 changed files with 31 additions and 10 deletions

View File

@@ -678,6 +678,7 @@ func UpdateUser(ctx *jxcontext.Context, payload map[string]interface{}) (err err
//发短信,公众号消息通知
smsmsg.SendSMSMsg([]string{*user.Mobile}, globals.SMSSignName, globals.SMSPopSuccessTemplate, nil)
// weixinmsg.SendMsgToUser(userID, templateID, data)
event.SendSysMessageSimple("您好您已成功邀请4人加入我们成功免费获得1个月会员", user.UserID)
}
user.PopFlag = model.YES
dao.UpdateEntity(db, user, "PopFlag")