有可能是这个return "error"的影响会报错

This commit is contained in:
zhujj 2019-01-28 13:30:14 +08:00
parent 815ffbf39a
commit 7b4ffe1c3a
1 changed files with 2 additions and 2 deletions

View File

@ -18,12 +18,12 @@ public class ErrorController {
@GetMapping(value = "/404")
public String error404() {
return "error";
return "err";
}
@GetMapping(value = "/500")
public String error500() {
return "error";
return "err";
}
}