This website works better with JavaScript.
Home
Explore
Help
Sign In
Independent
/
gim
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
update
master
DengBiao
1 year ago
parent
5f8596b029
commit
3e5371a3f2
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
internal/logic/app/group_app.go
+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 {
return 0, err
}
err = group.PushAddMember(ctx, userId, in.MemberIds)
return group.Id, nil
}
+ 1
- 0
pkg/proto/push.ext.proto
View File
@@ -13,6 +13,7 @@ enum PushCode {
PC_UPDATE_GROUP = 110; // 更新群组
PC_ADD_GROUP_MEMBERS = 120; // 添加群组成员
PC_REMOVE_GROUP_MEMBER = 121; // 移除群组成员
PC_BANNED_GROUP_MEMBER = 122; // 禁言群组成员
Write
Preview
Loading…
Cancel
Save