forked from github/cool-admin-java
fix: 修复组织Controller路由路径(cname→value)和菜单viewPath
This commit is contained in:
@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RequestAttribute;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Tag(name = "模块市场", description = "功能模块管理")
|
||||
@CoolRestController(api = {"add", "delete", "update", "page", "info"})
|
||||
@CoolRestController(api = {"add", "delete", "update", "page", "info"}, value = "/admin/module")
|
||||
public class AdminAppModuleController extends BaseController<AppModuleService, AppModuleEntity> {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Tag(name = "组织管理", description = "组织管理")
|
||||
@CoolRestController(api = {"delete", "update", "page", "info"}, cname = "org")
|
||||
@CoolRestController(api = {"add", "delete", "update", "page", "info"}, value = "/admin/org")
|
||||
public class AdminAppOrgController extends BaseController<AppOrgService, AppOrgEntity> {
|
||||
|
||||
private final AppOrgService appOrgService;
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestAttribute;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Tag(name = "组织模块授权", description = "组织模块授权管理")
|
||||
@CoolRestController(api = {"add", "delete", "update", "list"}, cname = "orgModule")
|
||||
@CoolRestController(api = {"add", "delete", "update", "list"}, value = "/admin/org/module")
|
||||
public class AdminAppOrgModuleController extends BaseController<AppOrgModuleService, AppOrgModuleEntity> {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
@Tag(name = "组织成员管理", description = "组织成员管理")
|
||||
@CoolRestController(api = {"page", "list", "update", "delete"}, cname = "orgUser")
|
||||
@CoolRestController(api = {"page", "list", "update", "delete"}, value = "/admin/org/user")
|
||||
public class AdminAppOrgUserController extends BaseController<AppOrgUserService, AppOrgUserEntity> {
|
||||
|
||||
private final AppOrgUserService appOrgUserService;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"type": 1,
|
||||
"icon": null,
|
||||
"orderNum": 1,
|
||||
"viewPath": "modules/org/views/list.vue",
|
||||
"viewPath": "org/list.vue",
|
||||
"keepAlive": true,
|
||||
"isShow": true,
|
||||
"childMenus": [
|
||||
@@ -30,7 +30,7 @@
|
||||
"orderNum": 1,
|
||||
"viewPath": null,
|
||||
"keepAlive": false,
|
||||
"isShow": true,
|
||||
"isShow+": true,
|
||||
"childMenus": []
|
||||
},
|
||||
{
|
||||
@@ -90,7 +90,7 @@
|
||||
"type": 1,
|
||||
"icon": null,
|
||||
"orderNum": 2,
|
||||
"viewPath": "modules/org/views/module-list.vue",
|
||||
"viewPath": "org/module-list.vue",
|
||||
"keepAlive": true,
|
||||
"isShow": true,
|
||||
"childMenus": [
|
||||
@@ -151,7 +151,7 @@
|
||||
"type": 1,
|
||||
"icon": null,
|
||||
"orderNum": 3,
|
||||
"viewPath": "modules/org/views/member-list.vue",
|
||||
"viewPath": "org/member-list.vue",
|
||||
"keepAlive": true,
|
||||
"isShow": true,
|
||||
"childMenus": [
|
||||
|
||||
Reference in New Issue
Block a user