Browse Source

update

three
DengBiao 1 year ago
parent
commit
e3d14d07a3
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      consume/dou_shen_user_register_for_official_consume.go

+ 4
- 0
consume/dou_shen_user_register_for_official_consume.go View File

@@ -174,6 +174,10 @@ func handleDouShenUserRegisterConsumeForOfficial(msgData []byte) error {
if userGroup == nil { if userGroup == nil {
return errors.New("当前官方群暂未设置群主,请联系管理员!!!") return errors.New("当前官方群暂未设置群主,请联系管理员!!!")
} }
utils2.FilePutContents("handleDouShenUserRegisterConsumeForOfficial", utils2.SerializeStr(map[string]interface{}{
"officialGroup": officialGroup,
"gimUser": gimUser,
}))
//加入群 //加入群
_, err = utils.GetLogicExtClient(cfg.ImLogicRpc.URL, cfg.ImLogicRpc.PORT).AddGroupMembers( _, err = utils.GetLogicExtClient(cfg.ImLogicRpc.URL, cfg.ImLogicRpc.PORT).AddGroupMembers(
utils.GetCtx("", strconv.FormatInt(userGroup.UserId, 10), "", msg.MasterId), utils.GetCtx("", strconv.FormatInt(userGroup.UserId, 10), "", msg.MasterId),


Loading…
Cancel
Save