| | |
| | | String STRATEGYBYID = API_PREFIX + "/query-userid"; |
| | | String REGEX = API_PREFIX + "/combination-regex"; |
| | | String REGEXONE = API_PREFIX + "/combination-regex-one"; |
| | | String GETVIEWCLASSIFY = API_PREFIX + "/get-view-classify"; |
| | | |
| | | /** |
| | | * 获取菜单 |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping(MENU_BY_CODES) |
| | | R<List<Menu>> getMenuByCodes(@RequestParam("codes") List<String> codes); |
| | | R<List<Menu>> getMenuByCodes(@RequestParam("codes") List<String> codes,@RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 获取用配置的主数据统计 |
| | |
| | | * @return List<Menu> |
| | | */ |
| | | @GetMapping(MENU_BUTTON) |
| | | R<List<Menu>> getMenuButtonByType(@RequestParam("btmType") String btmType); |
| | | R<List<Menu>> getMenuButtonByType(@RequestParam("classifyId") String classifyId,@RequestParam("btmType") String btmType,@RequestParam("authType") String authType); |
| | | |
| | | /** |
| | | * 获取部门 |
| | |
| | | @PostMapping(REGEXONE) |
| | | R<List<String>> getRegexByList(@RequestBody List<String> combinationIds); |
| | | |
| | | @GetMapping(GETVIEWCLASSIFY) |
| | | R<List<String>> getViewClassByRoleIds(@RequestParam("roleIds") List<String> roleIds,@RequestParam("authType") String authType,@RequestParam("menuCode") String menuCode); |
| | | |
| | | } |