|
|
@@ -174,10 +174,7 @@ func handleDouShenUserRegisterConsumeForOfficial(msgData []byte) error { |
|
|
|
if userGroup == nil { |
|
|
|
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( |
|
|
|
utils.GetCtx("", strconv.FormatInt(userGroup.UserId, 10), "", msg.MasterId), |
|
|
|