修复权限校验失败跳转页面配置错误的bug

pull/85/head
wangjianlong 2019-04-26 18:21:32 +08:00
parent d9aa73a7ad
commit 125934592c
2 changed files with 159 additions and 159 deletions

View File

@ -60,6 +60,6 @@ public class SysLoginController extends BaseController
@GetMapping("/unauth") @GetMapping("/unauth")
public String unauth() public String unauth()
{ {
return "/error/unauth"; return "error/unauth";
} }
} }

View File

@ -38,7 +38,7 @@ public class GlobalExceptionHandler
else else
{ {
ModelAndView modelAndView = new ModelAndView(); ModelAndView modelAndView = new ModelAndView();
modelAndView.setViewName("/error/unauth"); modelAndView.setViewName("error/unauth");
return modelAndView; return modelAndView;
} }
} }