feat: complete IM group governance actions
This commit is contained in:
@@ -86,6 +86,38 @@ type UnmuteReq struct {
|
||||
|
||||
type UnmuteRes struct{}
|
||||
|
||||
// JoinRequestApproveReq 通过IM入群申请
|
||||
type JoinRequestApproveReq struct {
|
||||
g.Meta `path:"/imGroup/joinRequestApprove" method:"post" tags:"IM群组" summary:"通过IM入群申请"`
|
||||
sysin.ImGroupJoinRequestResolveInp
|
||||
}
|
||||
|
||||
type JoinRequestApproveRes struct{}
|
||||
|
||||
// JoinRequestRejectReq 拒绝IM入群申请
|
||||
type JoinRequestRejectReq struct {
|
||||
g.Meta `path:"/imGroup/joinRequestReject" method:"post" tags:"IM群组" summary:"拒绝IM入群申请"`
|
||||
sysin.ImGroupJoinRequestResolveInp
|
||||
}
|
||||
|
||||
type JoinRequestRejectRes struct{}
|
||||
|
||||
// RoleUpdateReq 更新IM群成员角色
|
||||
type RoleUpdateReq struct {
|
||||
g.Meta `path:"/imGroup/roleUpdate" method:"post" tags:"IM群组" summary:"更新IM群成员角色"`
|
||||
sysin.ImGroupRoleUpdateInp
|
||||
}
|
||||
|
||||
type RoleUpdateRes struct{}
|
||||
|
||||
// OwnerTransferReq 转让IM群主
|
||||
type OwnerTransferReq struct {
|
||||
g.Meta `path:"/imGroup/ownerTransfer" method:"post" tags:"IM群组" summary:"转让IM群主"`
|
||||
sysin.ImGroupOwnerTransferInp
|
||||
}
|
||||
|
||||
type OwnerTransferRes struct{}
|
||||
|
||||
// JoinRequestListReq 查询IM入群申请列表
|
||||
type JoinRequestListReq struct {
|
||||
g.Meta `path:"/imGroup/joinRequestList" method:"get" tags:"IM群组" summary:"获取IM入群申请列表"`
|
||||
@@ -97,6 +129,25 @@ type JoinRequestListRes struct {
|
||||
List []*sysin.ImGroupJoinRequestListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// FileListReq 查询IM群文件列表
|
||||
type FileListReq struct {
|
||||
g.Meta `path:"/imGroup/fileList" method:"get" tags:"IM群组" summary:"获取IM群文件列表"`
|
||||
sysin.ImGroupFileListInp
|
||||
}
|
||||
|
||||
type FileListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupFileListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// FileDeleteReq 删除IM群文件
|
||||
type FileDeleteReq struct {
|
||||
g.Meta `path:"/imGroup/fileDelete" method:"post" tags:"IM群组" summary:"删除IM群文件"`
|
||||
sysin.ImGroupFileDeleteInp
|
||||
}
|
||||
|
||||
type FileDeleteRes struct{}
|
||||
|
||||
// InvitationListReq 查询IM群邀请列表
|
||||
type InvitationListReq struct {
|
||||
g.Meta `path:"/imGroup/invitationList" method:"get" tags:"IM群组" summary:"获取IM群邀请列表"`
|
||||
|
||||
Reference in New Issue
Block a user