Refactor code

This commit is contained in:
wenxu12345
2021-12-31 09:25:11 +08:00
parent aab6ad96eb
commit 9bee5c79c8
6 changed files with 26 additions and 32 deletions
+3 -4
View File
@@ -73,8 +73,7 @@ type GetGroupAllMemberReq struct {
type GetGroupAllMemberResp struct {
CommResp
MemberList []*open_im_sdk.GroupMemberFullInfo
Data []map[string]interface{} `json:"data"`
Data []map[string]interface{} `json:"data"`
}
type CreateGroupReq struct {
@@ -84,10 +83,10 @@ type CreateGroupReq struct {
GroupType int32 `json:"groupType"`
OperationID string `json:"operationID" binding:"required"`
}
type CreateGroupResp struct {
CommResp
GroupInfo open_im_sdk.GroupInfo `json:"data"`
GroupInfo open_im_sdk.GroupInfo
Data map[string]interface{} `json:"data"`
}
type GetGroupApplicationListReq struct {