|
|
@@ -6,6 +6,8 @@ import com.mrxu.framework.common.util.BaseCode;
|
|
|
import com.mrxu.framework.common.util.BusinessException;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.core.Ordered;
|
|
|
+import org.springframework.core.annotation.Order;
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
import org.springframework.web.bind.MethodArgumentNotValidException;
|
|
|
@@ -22,6 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@ControllerAdvice
|
|
|
@RestController
|
|
|
@Slf4j
|
|
|
+@Order(Ordered.LOWEST_PRECEDENCE)
|
|
|
public class FeignProviderExceptionHandler {
|
|
|
|
|
|
// 当前服务名称
|