异常封装之角色信息后台修改

This commit is contained in:
qiankunpingtai
2019-04-19 11:02:55 +08:00
parent f1ced5a839
commit 8b6ae069f1
3 changed files with 124 additions and 35 deletions

View File

@@ -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();
}