fix: 拆分商户新增和编辑权限

This commit is contained in:
richjohnrambo
2026-09-20 17:08:50 +08:00
parent 8675fe333d
commit e5ab79c40d
8 changed files with 76 additions and 15 deletions
+10 -2
View File
@@ -33,9 +33,17 @@ type ViewRes struct {
*sysin.ImTenantViewModel
}
// EditReq 修改/新增IM租户
// AddReq 新增IM租户
type AddReq struct {
g.Meta `path:"/imTenant/add" method:"post" tags:"IM租户" summary:"新增IM租户"`
sysin.ImTenantEditInp
}
type AddRes struct{}
// EditReq 修改IM租户
type EditReq struct {
g.Meta `path:"/imTenant/edit" method:"post" tags:"IM租户" summary:"修改/新增IM租户"`
g.Meta `path:"/imTenant/edit" method:"post" tags:"IM租户" summary:"修改IM租户"`
sysin.ImTenantEditInp
}