字典值查询
parent
773a323d84
commit
963d35a9a5
|
@ -46,10 +46,4 @@ public class GlobalExceptionHandler {
|
||||||
public BaseResponse<?> signatureException(SignatureException e) {
|
public BaseResponse<?> signatureException(SignatureException e) {
|
||||||
return BaseResponse.fail("E004", "token is invalid");
|
return BaseResponse.fail("E004", "token is invalid");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ExceptionHandler(Exception.class)
|
|
||||||
public BaseResponse<?> exception(Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
return BaseResponse.fail(StatusEnum.FAIL.getCode(), null, null);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@ import com.aliyuncs.profile.DefaultProfile;
|
||||||
import com.aliyuncs.profile.IClientProfile;
|
import com.aliyuncs.profile.IClientProfile;
|
||||||
import com.jwl.driver.server.constant.Constants;
|
import com.jwl.driver.server.constant.Constants;
|
||||||
import com.jwl.driver.server.exception.BusinessException;
|
import com.jwl.driver.server.exception.BusinessException;
|
||||||
import jdk.vm.ci.meta.Constant;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
Loading…
Reference in New Issue