Refactor code

This commit is contained in:
wenxu12345
2021-12-29 17:42:22 +08:00
parent 6c137d9098
commit a02b810412
2 changed files with 14 additions and 15 deletions
+5 -8
View File
@@ -76,15 +76,12 @@ type GetGroupAllMemberResp struct {
}
type CreateGroupReq struct {
MemberList []*GroupAddMemberInfo `json:"memberList" binding:"required"`
GroupName string `json:"groupName"`
Introduction string `json:"introduction"`
Notification string `json:"notification"`
FaceUrl string `json:"faceUrl"`
OperationID string `json:"operationID" binding:"required"`
GroupType int32 `json:"groupType"`
Ex string `json:"ex"`
MemberList []*GroupAddMemberInfo `json:"memberList" binding:"required"`
OwnerUserID string `json:"ownerUserID"`
GroupName string `json:"groupName"`
GroupType int32 `json:"groupType"`
}
type CreateGroupResp struct {
CommResp
GroupInfo open_im_sdk.GroupInfo `json:"data"`