Browse Source

update

master
DengBiao 1 year ago
parent
commit
3e5371a3f2
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      internal/logic/app/group_app.go
  2. +1
    -0
      pkg/proto/push.ext.proto

+ 1
- 0
internal/logic/app/group_app.go View File

@@ -27,6 +27,7 @@ func (*groupApp) CreateGroup(ctx context.Context, userId int64, in *pb.CreateGro
if err != nil { if err != nil {
return 0, err return 0, err
} }
err = group.PushAddMember(ctx, userId, in.MemberIds)
return group.Id, nil return group.Id, nil
} }




+ 1
- 0
pkg/proto/push.ext.proto View File

@@ -13,6 +13,7 @@ enum PushCode {
PC_UPDATE_GROUP = 110; // 更新群组 PC_UPDATE_GROUP = 110; // 更新群组


PC_ADD_GROUP_MEMBERS = 120; // 添加群组成员 PC_ADD_GROUP_MEMBERS = 120; // 添加群组成员

PC_REMOVE_GROUP_MEMBER = 121; // 移除群组成员 PC_REMOVE_GROUP_MEMBER = 121; // 移除群组成员


PC_BANNED_GROUP_MEMBER = 122; // 禁言群组成员 PC_BANNED_GROUP_MEMBER = 122; // 禁言群组成员


Loading…
Cancel
Save