Ver código fonte

update

three
DengBiao 1 ano atrás
pai
commit
e07f16aa85
2 arquivos alterados com 8 adições e 6 exclusões
  1. +4
    -3
      consume/dou_shen_user_register_for_my_my_fans.go
  2. +4
    -3
      consume/dou_shen_user_register_for_official_consume.go

+ 4
- 3
consume/dou_shen_user_register_for_my_my_fans.go Ver arquivo

@@ -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,
})


+ 4
- 3
consume/dou_shen_user_register_for_official_consume.go Ver arquivo

@@ -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{},
})


Carregando…
Cancelar
Salvar