chore: seed migration objects batch 5
This commit is contained in:
@@ -54,6 +54,142 @@ type GovernanceRes struct {
|
||||
*sysin.ImGroupGovernanceModel
|
||||
}
|
||||
|
||||
// GovernanceUpdateReq 更新IM群治理配置
|
||||
type GovernanceUpdateReq struct {
|
||||
g.Meta `path:"/imGroup/governanceUpdate" method:"post" tags:"IM群组" summary:"更新IM群治理配置"`
|
||||
sysin.ImGroupGovernanceUpdateInp
|
||||
}
|
||||
|
||||
type GovernanceUpdateRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// ProfileUpdateReq 修改IM群资料
|
||||
type ProfileUpdateReq struct {
|
||||
g.Meta `path:"/imGroup/profileUpdate" method:"post" tags:"IM群组" summary:"修改IM群资料"`
|
||||
sysin.ImGroupProfileUpdateInp
|
||||
}
|
||||
|
||||
type ProfileUpdateRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// DissolveReq 解散IM群
|
||||
type DissolveReq struct {
|
||||
g.Meta `path:"/imGroup/dissolve" method:"post" tags:"IM群组" summary:"解散IM群"`
|
||||
sysin.ImGroupDissolveInp
|
||||
}
|
||||
|
||||
type DissolveRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// MuteReq 禁言IM群成员
|
||||
type MuteReq struct {
|
||||
g.Meta `path:"/imGroup/mute" method:"post" tags:"IM群组" summary:"禁言IM群成员"`
|
||||
sysin.ImGroupMuteInp
|
||||
}
|
||||
|
||||
type MuteRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// MemberMuteReq Kafka禁言IM群成员
|
||||
type MemberMuteReq struct {
|
||||
g.Meta `path:"/imGroup/memberMute" method:"post" tags:"IM群组" summary:"Kafka禁言IM群成员"`
|
||||
sysin.ImGroupMuteInp
|
||||
}
|
||||
|
||||
type MemberMuteRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// UnmuteReq 解除IM群成员禁言
|
||||
type UnmuteReq struct {
|
||||
g.Meta `path:"/imGroup/unmute" method:"post" tags:"IM群组" summary:"解除IM群成员禁言"`
|
||||
sysin.ImGroupUnmuteInp
|
||||
}
|
||||
|
||||
type UnmuteRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// MemberUnmuteReq Kafka解除IM群成员禁言
|
||||
type MemberUnmuteReq struct {
|
||||
g.Meta `path:"/imGroup/memberUnmute" method:"post" tags:"IM群组" summary:"Kafka解除IM群成员禁言"`
|
||||
sysin.ImGroupUnmuteInp
|
||||
}
|
||||
|
||||
type MemberUnmuteRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// MemberRemoveReq 移出IM群成员
|
||||
type MemberRemoveReq struct {
|
||||
g.Meta `path:"/imGroup/memberRemove" method:"post" tags:"IM群组" summary:"移出IM群成员"`
|
||||
sysin.ImGroupMemberRemoveInp
|
||||
}
|
||||
|
||||
type MemberRemoveRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// 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 {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// AdminSetReq 设置IM群管理员
|
||||
type AdminSetReq struct {
|
||||
g.Meta `path:"/imGroup/adminSet" method:"post" tags:"IM群组" summary:"设置IM群管理员"`
|
||||
sysin.ImGroupRoleUpdateInp
|
||||
}
|
||||
|
||||
type AdminSetRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// AdminRemoveReq 删除IM群管理员
|
||||
type AdminRemoveReq struct {
|
||||
g.Meta `path:"/imGroup/adminRemove" method:"post" tags:"IM群组" summary:"删除IM群管理员"`
|
||||
sysin.ImGroupRoleUpdateInp
|
||||
}
|
||||
|
||||
type AdminRemoveRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// OwnerTransferReq 转让IM群主
|
||||
type OwnerTransferReq struct {
|
||||
g.Meta `path:"/imGroup/ownerTransfer" method:"post" tags:"IM群组" summary:"转让IM群主"`
|
||||
sysin.ImGroupOwnerTransferInp
|
||||
}
|
||||
|
||||
type OwnerTransferRes struct {
|
||||
*sysin.ImGroupCommandModel
|
||||
}
|
||||
|
||||
// JoinRequestListReq 查询IM入群申请列表
|
||||
type JoinRequestListReq struct {
|
||||
g.Meta `path:"/imGroup/joinRequestList" method:"get" tags:"IM群组" summary:"获取IM入群申请列表"`
|
||||
@@ -65,6 +201,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