pull/284/head
wangchuxiao 2 years ago
parent a0a2b6c340
commit 46e233ccbb

@ -16,7 +16,7 @@ type CommDataResp struct {
type KickGroupMemberReq struct { type KickGroupMemberReq struct {
GroupID string `json:"groupID" binding:"required"` GroupID string `json:"groupID" binding:"required"`
KickedUserIDList []string `json:"kickedUserIDList" binding:"required, min=1, max=100"` KickedUserIDList []string `json:"kickedUserIDList" binding:"required"`
Reason string `json:"reason"` Reason string `json:"reason"`
OperationID string `json:"operationID" binding:"required"` OperationID string `json:"operationID" binding:"required"`
} }
@ -38,7 +38,7 @@ type GetGroupMembersInfoResp struct {
type InviteUserToGroupReq struct { type InviteUserToGroupReq struct {
GroupID string `json:"groupID" binding:"required"` GroupID string `json:"groupID" binding:"required"`
InvitedUserIDList []string `json:"invitedUserIDList" binding:"required, min=1, max=100"` InvitedUserIDList []string `json:"invitedUserIDList" binding:"required"`
Reason string `json:"reason"` Reason string `json:"reason"`
OperationID string `json:"operationID" binding:"required"` OperationID string `json:"operationID" binding:"required"`
} }

Loading…
Cancel
Save