通过定义一个ExceptionHandler注解,其他controller继承他可以根据不同的异常进行处理。
posted on 2017-03-23 17:55 老邱2 阅读(75) 评论(0) 编辑 收藏 举报