| | |
| | | |
| | | @Override |
| | | @GetMapping(MENU_BUTTON) |
| | | public R<List<Menu>> getMenuButtonByType(String btmType) { |
| | | return R.data(menuService.getMenuButtonByType(btmType, AuthUtil.getUserId())); |
| | | public R<List<Menu>> getMenuButtonByType(String classifyId,String btmType,String authType) { |
| | | return R.data(menuService.getMenuButtonByType(classifyId,btmType,authType)); |
| | | } |
| | | |
| | | @Override |
| | |
| | | return R.data(mdmCountConfigService.getMdmCountConfig(userId)); |
| | | } |
| | | |
| | | public R<List<String>> getViewClassByRoleIds(List<String> roleIds){ |
| | | return R.data(classifyAuthService.getViewClassByRoleIds(roleIds)); |
| | | public R<List<String>> getViewClassByRoleIds(List<String> roleIds,String authType,String buttonCode,String menuCode){ |
| | | return R.data(classifyAuthService.getViewClassByRoleIds(roleIds,authType,buttonCode,menuCode)); |
| | | } |
| | | |
| | | } |