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

master
wangjianlong 5 years ago committed by Limy
parent 1af38d4310
commit aa43aac81d

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

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

Loading…
Cancel
Save