|
|
@ -80,10 +80,6 @@ public class SysMenuController extends BaseController {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 获取菜单下拉树列表
|
|
|
|
* 获取菜单下拉树列表
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@SaCheckRole(value = {
|
|
|
|
|
|
|
|
TenantConstants.SUPER_ADMIN_ROLE_KEY,
|
|
|
|
|
|
|
|
TenantConstants.TENANT_ADMIN_ROLE_KEY
|
|
|
|
|
|
|
|
}, mode = SaMode.OR)
|
|
|
|
|
|
|
|
@SaCheckPermission("system:menu:query")
|
|
|
|
@SaCheckPermission("system:menu:query")
|
|
|
|
@GetMapping("/treeselect")
|
|
|
|
@GetMapping("/treeselect")
|
|
|
|
public R<List<Tree<Long>>> treeselect(SysMenuBo menu) {
|
|
|
|
public R<List<Tree<Long>>> treeselect(SysMenuBo menu) {
|
|
|
@ -96,10 +92,6 @@ public class SysMenuController extends BaseController {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param roleId 角色ID
|
|
|
|
* @param roleId 角色ID
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@SaCheckRole(value = {
|
|
|
|
|
|
|
|
TenantConstants.SUPER_ADMIN_ROLE_KEY,
|
|
|
|
|
|
|
|
TenantConstants.TENANT_ADMIN_ROLE_KEY
|
|
|
|
|
|
|
|
}, mode = SaMode.OR)
|
|
|
|
|
|
|
|
@SaCheckPermission("system:menu:query")
|
|
|
|
@SaCheckPermission("system:menu:query")
|
|
|
|
@GetMapping(value = "/roleMenuTreeselect/{roleId}")
|
|
|
|
@GetMapping(value = "/roleMenuTreeselect/{roleId}")
|
|
|
|
public R<MenuTreeSelectVo> roleMenuTreeselect(@PathVariable("roleId") Long roleId) {
|
|
|
|
public R<MenuTreeSelectVo> roleMenuTreeselect(@PathVariable("roleId") Long roleId) {
|
|
|
|