Browse Source

update

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

+ 1
- 4
consume/dou_shen_user_register_for_official_consume.go View File

@@ -174,10 +174,7 @@ 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,
}))
fmt.Println("!!!!!!!!!!", 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