// Package imfile // @Link https://github.com/bufanyun/hotgo // @Copyright Copyright (c) 2026 HotGo // @Author Ms <133814250@qq.com> // @License https://github.com/bufanyun/hotgo/blob/master/LICENSE package imfile import ( "hotgo/internal/model/input/form" "hotgo/internal/model/input/sysin" "github.com/gogf/gf/v2/frame/g" ) // ListReq 查询IM文件列表 type ListReq struct { g.Meta `path:"/imFile/list" method:"get" tags:"IM文件治理" summary:"获取IM文件列表"` sysin.ImFileListInp } type ListRes struct { form.PageRes List []*sysin.ImFileListModel `json:"list" dc:"数据列表"` } // ViewReq 获取IM文件详情 type ViewReq struct { g.Meta `path:"/imFile/view" method:"get" tags:"IM文件治理" summary:"获取IM文件详情"` sysin.ImFileViewInp } type ViewRes struct { *sysin.ImFileViewModel } // QuarantineReq 隔离IM文件 type QuarantineReq struct { g.Meta `path:"/imFile/quarantine" method:"post" tags:"IM文件治理" summary:"隔离IM文件"` sysin.ImFileActionInp } type QuarantineRes struct{} // DeleteReq 删除IM文件 type DeleteReq struct { g.Meta `path:"/imFile/delete" method:"post" tags:"IM文件治理" summary:"删除IM文件"` sysin.ImFileActionInp } type DeleteRes struct{} // CleanupOrphanReq 清理IM孤儿文件 type CleanupOrphanReq struct { g.Meta `path:"/imFile/cleanupOrphan" method:"post" tags:"IM文件治理" summary:"清理IM孤儿文件"` sysin.ImFileCleanupOrphanInp } type CleanupOrphanRes struct { *sysin.ImFileCleanupOrphanModel }