// Package imtenant // @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 imtenant 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:"/imTenant/list" method:"get" tags:"IM租户" summary:"获取IM租户列表"` sysin.ImTenantListInp } type ListRes struct { form.PageRes List []*sysin.ImTenantListModel `json:"list" dc:"数据列表"` } // ViewReq 获取IM租户指定信息 type ViewReq struct { g.Meta `path:"/imTenant/view" method:"get" tags:"IM租户" summary:"获取IM租户指定信息"` sysin.ImTenantViewInp } type ViewRes struct { *sysin.ImTenantViewModel } // EditReq 修改/新增IM租户 type EditReq struct { g.Meta `path:"/imTenant/edit" method:"post" tags:"IM租户" summary:"修改/新增IM租户"` sysin.ImTenantEditInp } type EditRes struct{} // StatusReq 更新IM租户状态 type StatusReq struct { g.Meta `path:"/imTenant/status" method:"post" tags:"IM租户" summary:"更新IM租户状态"` sysin.ImTenantStatusInp } type StatusRes struct{}