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

Merge pull request !85 from lywjlong/master
pull/85/MERGE
lywjlong 2019-04-28 10:01:41 +08:00 committed by 若依
commit 8af0afc80d
2 changed files with 159 additions and 159 deletions

View File

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

View File

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