Commit 5889d7ff by guojuxing

权限管理:页面、子页面、操作项接口修改

parent d84d1ed4
......@@ -149,6 +149,16 @@ public class MenuController {
return EnterpriseRestResponse.failure(result);
}
@RequestMapping("/save-operation-item")
public RestResponse saveOperationItem(MenuDTO menuDTO) {
return ResultControllerUtils.commonResult(menuApiService.saveOperationItem(menuDTO));
}
@RequestMapping("/update-operation-item")
public RestResponse updateOperationItem(MenuDTO menuDTO) {
return ResultControllerUtils.commonResult(menuApiService.updateOperationItem(menuDTO));
}
private static Map<String, String> getMenuVersionMap(MenuDTO dto) {
Map<String, String> map = new HashMap<>(16);
if (dto.getProject().equals(MenuProjectConstants.DEFAULT_PROJECT) && dto.getLevel() == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment