mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-16 10:38:27 +00:00
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user