#
Junjie
1 天以前 1f0db72effe89280001306a0d95ae78ed0dd4db0
src/main/java/com/zy/common/config/CoolExceptionHandler.java
@@ -7,7 +7,6 @@
import org.springframework.web.HttpRequestMethodNotSupportedException;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.method.HandlerMethod;
/**
 * Created by vincent on 2019-06-09
@@ -19,7 +18,7 @@
    private I18nMessageService i18nMessageService;
    @ExceptionHandler(Exception.class)
    public R handlerException(HandlerMethod handler, Exception e) {
    public R handlerException(Exception e) {
        e.printStackTrace();
        return R.error(i18nMessageService.getMessage("response.common.systemError"));
    }