摘要: @ControllerAdvice public class ErrorHandler { @ExceptionHandler(Exception.class) String handleException(Exception e){ return "404.html"; } } 阅读全文
posted @ 2019-02-24 11:18 HWll 阅读(538) 评论(0) 推荐(0)