异常封装之角色信息后台修改
This commit is contained in:
@@ -37,7 +37,7 @@ public class RoleController {
|
||||
*/
|
||||
@PostMapping(value = "/findUserRole")
|
||||
public JSONArray findUserRole(@RequestParam("UBType") String type, @RequestParam("UBKeyId") String keyId,
|
||||
HttpServletRequest request) {
|
||||
HttpServletRequest request)throws Exception {
|
||||
JSONArray arr = new JSONArray();
|
||||
try {
|
||||
List<Role> dataList = roleService.findUserRole();
|
||||
@@ -76,7 +76,7 @@ public class RoleController {
|
||||
}
|
||||
|
||||
@PostMapping(value = "/list")
|
||||
public List<Role> list(HttpServletRequest request) {
|
||||
public List<Role> list(HttpServletRequest request)throws Exception {
|
||||
return roleService.getRole();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user