fix: 拆分商户新增和编辑权限
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user