From eba02ffcf3c596e46f7ed6f03ce634a099577c64 Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Mon, 15 Jul 2024 17:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=9E=9A=E4=B8=BE=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=8A=9F=E8=83=BD=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/njcn/web/config/FeignConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());