feat: expand IM admin controls
This commit is contained in:
@@ -22,6 +22,14 @@ type ListRes struct {
|
||||
List []*sysin.ImAuditLogListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出IM审计日志列表
|
||||
type ExportReq struct {
|
||||
g.Meta `path:"/imAuditLog/export" method:"get" tags:"IM审计日志" summary:"导出IM审计日志列表"`
|
||||
sysin.ImAuditLogListInp
|
||||
}
|
||||
|
||||
type ExportRes struct{}
|
||||
|
||||
// ViewReq 获取IM审计日志指定信息
|
||||
type ViewReq struct {
|
||||
g.Meta `path:"/imAuditLog/view" method:"get" tags:"IM审计日志" summary:"获取IM审计日志指定信息"`
|
||||
|
||||
@@ -48,3 +48,35 @@ type StatusReq struct {
|
||||
}
|
||||
|
||||
type StatusRes struct{}
|
||||
|
||||
type UsageReq struct {
|
||||
g.Meta `path:"/imTenant/usage" method:"get" tags:"IM租户" summary:"获取IM租户用量和健康状态"`
|
||||
sysin.ImTenantUsageInp
|
||||
}
|
||||
|
||||
type UsageRes struct {
|
||||
*sysin.ImTenantUsageModel
|
||||
}
|
||||
|
||||
type DeletionCheckReq struct {
|
||||
g.Meta `path:"/imTenant/deletionCheck" method:"get" tags:"IM租户" summary:"IM租户删除前检查"`
|
||||
sysin.ImTenantDeletionCheckInp
|
||||
}
|
||||
|
||||
type DeletionCheckRes struct {
|
||||
*sysin.ImTenantDeletionCheckModel
|
||||
}
|
||||
|
||||
type EnterDeletingReq struct {
|
||||
g.Meta `path:"/imTenant/enterDeleting" method:"post" tags:"IM租户" summary:"IM租户进入删除流程"`
|
||||
sysin.ImTenantLifecycleInp
|
||||
}
|
||||
|
||||
type EnterDeletingRes struct{}
|
||||
|
||||
type RestoreReq struct {
|
||||
g.Meta `path:"/imTenant/restore" method:"post" tags:"IM租户" summary:"恢复IM租户"`
|
||||
sysin.ImTenantLifecycleInp
|
||||
}
|
||||
|
||||
type RestoreRes struct{}
|
||||
|
||||
@@ -39,3 +39,27 @@ type ResetPasswordReq struct {
|
||||
}
|
||||
|
||||
type ResetPasswordRes struct{}
|
||||
|
||||
type RevokeSessionsReq struct {
|
||||
g.Meta `path:"/imUser/revokeSessions" method:"post" tags:"IM用户" summary:"撤销IM用户会话"`
|
||||
sysin.ImUserRevokeSessionsInp
|
||||
}
|
||||
|
||||
type RevokeSessionsRes struct{}
|
||||
|
||||
type StatusReq struct {
|
||||
g.Meta `path:"/imUser/status" method:"post" tags:"IM用户" summary:"更新IM用户状态"`
|
||||
sysin.ImUserStatusInp
|
||||
}
|
||||
|
||||
type StatusRes struct{}
|
||||
|
||||
type DevicesReq struct {
|
||||
g.Meta `path:"/imUser/devices" method:"get" tags:"IM用户" summary:"获取IM用户设备列表"`
|
||||
sysin.ImUserDeviceListInp
|
||||
}
|
||||
|
||||
type DevicesRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImUserDeviceListModel `json:"list" dc:"设备列表"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user