diff --git a/pqs-common/common-web/src/main/java/com/njcn/web/config/FeignConfig.java b/pqs-common/common-web/src/main/java/com/njcn/web/config/FeignConfig.java index 12c977798..d8fdfd33e 100644 --- a/pqs-common/common-web/src/main/java/com/njcn/web/config/FeignConfig.java +++ b/pqs-common/common-web/src/main/java/com/njcn/web/config/FeignConfig.java @@ -53,7 +53,7 @@ public class FeignConfig { //如果返回错误,且为内部错误,则直接抛出异常 CommonResponseEnum commonResponseEnum; if(result.getCode().equals(CommonResponseEnum.DYNAMIC_RESPONSE_ENUM.getCode())){ - commonResponseEnum = CommonResponseEnum.DEVICE_RESPONSE_ENUM; + commonResponseEnum = CommonResponseEnum.DYNAMIC_RESPONSE_ENUM; commonResponseEnum.setMessage(result.getMessage()); }else{ commonResponseEnum = EnumUtils.getCommonResponseEnumByCode(result.getCode());