#
Junjie
3 天以前 7e52962b703cdb572885cc394d039bc635d979fd
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"));
    }