feat: expand IM admin controls

This commit is contained in:
richjohnrambo
2026-08-21 15:09:39 +08:00
parent c3676f9744
commit 543c7b624e
29 changed files with 1308 additions and 39 deletions
+32
View File
@@ -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{}