From e07f16aa857527b033cb4f51a6e430cd7d5b814f Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Sat, 13 May 2023 10:45:02 +0800 Subject: [PATCH] update --- consume/dou_shen_user_register_for_my_my_fans.go | 7 ++++--- consume/dou_shen_user_register_for_official_consume.go | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/consume/dou_shen_user_register_for_my_my_fans.go b/consume/dou_shen_user_register_for_my_my_fans.go index d0fe704..683f9b1 100644 --- a/consume/dou_shen_user_register_for_my_my_fans.go +++ b/consume/dou_shen_user_register_for_my_my_fans.go @@ -96,9 +96,10 @@ func handleDouShenUserRegisterConsumeForMyFans(msgData []byte) error { groupName := "我的粉丝【1】群" //3、创建群 resp, err := utils.GetLogicExtClient(cfg.ImLogicRpc.URL, cfg.ImLogicRpc.PORT).CreateGroup(utils.GetCtx("", utils2.Int64ToStr(gimUser.Id), "", msg.MasterId), &pb.CreateGroupReq{ - Name: groupName, - AvatarUrl: "", - Introduction: gimUser.Nickname + "的粉丝群", + Name: groupName, + AvatarUrl: "", + //Introduction: gimUser.Nickname + "的粉丝群", + Introduction: "", Extra: "", MemberIds: nil, }) diff --git a/consume/dou_shen_user_register_for_official_consume.go b/consume/dou_shen_user_register_for_official_consume.go index 75e04a0..52ad6e9 100644 --- a/consume/dou_shen_user_register_for_official_consume.go +++ b/consume/dou_shen_user_register_for_official_consume.go @@ -101,9 +101,10 @@ func handleDouShenUserRegisterConsumeForOfficial(msgData []byte) error { groupName := "官方【1】群" //3、创建群 resp, err := utils.GetLogicExtClient(cfg.ImLogicRpc.URL, cfg.ImLogicRpc.PORT).CreateGroup(utils.GetCtx("", strconv.FormatInt(gimUser.Id, 10), "0", msg.MasterId), &pb.CreateGroupReq{ - Name: groupName, - AvatarUrl: "", - Introduction: "官方群", + Name: groupName, + AvatarUrl: "", + //Introduction: "官方群", + Introduction: "", Extra: "", MemberIds: []int64{}, })