mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Refactor code
This commit is contained in:
parent
6c137d9098
commit
a02b810412
@ -77,14 +77,11 @@ type GetGroupAllMemberResp struct {
|
|||||||
|
|
||||||
type CreateGroupReq struct {
|
type CreateGroupReq struct {
|
||||||
MemberList []*GroupAddMemberInfo `json:"memberList" binding:"required"`
|
MemberList []*GroupAddMemberInfo `json:"memberList" binding:"required"`
|
||||||
|
OwnerUserID string `json:"ownerUserID"`
|
||||||
GroupName string `json:"groupName"`
|
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"`
|
GroupType int32 `json:"groupType"`
|
||||||
Ex string `json:"ex"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateGroupResp struct {
|
type CreateGroupResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
GroupInfo open_im_sdk.GroupInfo `json:"data"`
|
GroupInfo open_im_sdk.GroupInfo `json:"data"`
|
||||||
|
@ -27,23 +27,25 @@ func SetErrCodeMsg(c *gin.Context, status int) *CommResp {
|
|||||||
return &resp
|
return &resp
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//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"`
|
||||||
|
|
||||||
//type GroupInfo struct {
|
//type GroupInfo struct {
|
||||||
// GroupID string `json:"groupID"`
|
// GroupID string `json:"groupID"`
|
||||||
// GroupName string `json:"groupName"`
|
// GroupName string `json:"groupName"`
|
||||||
// Notification string `json:"notification"`
|
// Notification string `json:"notification"`
|
||||||
// Introduction string `json:"introduction"`
|
// Introduction string `json:"introduction"`
|
||||||
// FaceUrl string `json:"faceUrl"`
|
// FaceUrl string `json:"faceUrl"`
|
||||||
// OperationID string `json:"operationID"`
|
|
||||||
// OwnerUserID string `json:"ownerUserID"`
|
// OwnerUserID string `json:"ownerUserID"`
|
||||||
// CreateTime int64 `json:"createTime"`
|
|
||||||
// MemberCount uint32 `json:"memberCount"`
|
|
||||||
// Ex string `json:"ex"`
|
// Ex string `json:"ex"`
|
||||||
// Status int32 `json:"status"`
|
|
||||||
// CreatorUserID string `json:"creatorUserID"`
|
|
||||||
// GroupType int32 `json:"groupType"`
|
// GroupType int32 `json:"groupType"`
|
||||||
//}
|
//}
|
||||||
//
|
|
||||||
//type GroupMemberFullInfo struct {
|
//type GroupMemberFullInfo struct {
|
||||||
// GroupID string `json:"groupID"`
|
// GroupID string `json:"groupID"`
|
||||||
// UserID string `json:"userID"`
|
// UserID string `json:"userID"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user