Update GlobalExceptionHandler.java
This commit is contained in:
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
|
|||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 全局异常处理
|
* 全局异常处理类
|
||||||
* Created by macro on 2020/2/27.
|
* Created by macro on 2020/2/27.
|
||||||
*/
|
*/
|
||||||
@ControllerAdvice
|
@ControllerAdvice
|
||||||
|
|||||||
Reference in New Issue
Block a user