Commit f33f9811 authored by jiaorz's avatar jiaorz

异常邮件处理

parent 4cc674ea
...@@ -25,7 +25,7 @@ import static org.springframework.http.HttpStatus.NOT_EXTENDED; ...@@ -25,7 +25,7 @@ import static org.springframework.http.HttpStatus.NOT_EXTENDED;
/** /**
* Created by ace on 2017/9/8. * Created by ace on 2017/9/8.
*/ */
@ControllerAdvice @ControllerAdvice("com.github.wxiaoqi.security")
@ResponseBody @ResponseBody
public class GlobalExceptionHandler extends ResponseEntityExceptionHandler { public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
private Logger logger = LoggerFactory.getLogger(GlobalExceptionHandler.class); private Logger logger = LoggerFactory.getLogger(GlobalExceptionHandler.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment