Browse Source

update

master
DengBiao 1 year ago
parent
commit
ee1e3ab1c2
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      internal/logic/api/logic_ext.go

+ 4
- 1
internal/logic/api/logic_ext.go View File

@@ -279,7 +279,10 @@ func (*LogicExtServer) DeleteGroupMember(ctx context.Context, in *pb.DeleteGroup
func (s *LogicExtServer) GetGroupMembers(ctx context.Context, in *pb.GetGroupMembersReq) (*pb.GetGroupMembersResp, error) { func (s *LogicExtServer) GetGroupMembers(ctx context.Context, in *pb.GetGroupMembersReq) (*pb.GetGroupMembersResp, error) {
members, err := app.GroupApp.GetMembers(ctx, in.GroupId, in.Limit) members, err := app.GroupApp.GetMembers(ctx, in.GroupId, in.Limit)
utils.FilePutContents("GetGroupMembers", utils.SerializeStr(map[string]interface{}{ utils.FilePutContents("GetGroupMembers", utils.SerializeStr(map[string]interface{}{
"req": in,
"req": map[string]interface{}{
"group_id": in.GroupId,
"limit": in.Limit,
},
"resp": members, "resp": members,
})) }))
return &pb.GetGroupMembersResp{Members: members}, err return &pb.GetGroupMembersResp{Members: members}, err


Loading…
Cancel
Save