feat: 迁移商务账号层级和列表管理
This commit is contained in:
@@ -41,6 +41,10 @@ type routeValue struct {
|
||||
// Gin router files still bind handlers; tests keep those registrations aligned
|
||||
// with this catalog while public, audit and API metadata live only here.
|
||||
var routes = map[string]routeValue{
|
||||
"GET /sw/business/list": {group: "商务管理", description: "查询下级商务列表"},
|
||||
"GET /sw/business/:userId": {group: "商务管理", description: "获取商务资料"},
|
||||
"POST /sw/business": {group: "商务管理", description: "添加子商务", audit: true},
|
||||
"PUT /sw/business": {group: "商务管理", description: "编辑商务资料和审核状态", audit: true},
|
||||
"GET /sw/user/preference": {group: "商务偏好", description: "获取当前用户商务偏好"},
|
||||
"PUT /sw/user/preference": {group: "商务偏好", description: "更新当前用户商务偏好", audit: true},
|
||||
"DELETE /api/deleteApisByIds": {group: "api", description: "批量删除api", audit: true},
|
||||
|
||||
Reference in New Issue
Block a user