Commit 6cb7ffae65a651e435242c9f5abd902e3e59c376

Authored by hanshaofeng
1 parent 40cc56db43

permission2

Showing 1 changed file with 2 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java View file @ 6cb7ffa
... ... @@ -75,7 +75,8 @@
75 75 private static final String ADMIN="管理员";
76 76 private static final String replacePwd = "[$#&/]-+";
77 77  
78   -
  78 + @RequestMapping(value = "/rebuildUserRoles", method = RequestMethod.GET)
  79 + @ResponseBody
79 80 public String rebuildUserRoles(@RequestParam(value = "hospitalId")Integer hospitalId) {
80 81 StringBuffer sb = new StringBuffer();
81 82 Organization organization = organizationService.getOrganization(hospitalId);
... ... @@ -117,9 +118,6 @@
117 118 }
118 119 }
119 120 }
120   -
121   -
122   -
123 121 } else {
124 122 sb.append("机构不存在:"+hospitalId);
125 123 }