From d26b58fd108757f792dd4bb3c676377cc9a8b585 Mon Sep 17 00:00:00 2001 From: bayuzhen Date: Mon, 26 Aug 2024 10:35:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/bocloud/sms/service/utils/QxUtils.java | 4 ++-- .../main/java/com/bocloud/sms/service/utils/YkUtils.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/QxUtils.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/QxUtils.java index c194fa0..37f1162 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/QxUtils.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/QxUtils.java @@ -11,9 +11,9 @@ import org.springframework.stereotype.Component; @Component public class QxUtils { private final Logger logger = LoggerFactory.getLogger(this.getClass()); - @Value("${qx.queryAppUrl}") + @Value("${qx.queryAppUrl:http://117.47.88.120:8081/authority/api/v1/apps}") private String queryAppUrl; - @Value("${qx.queryAppModulesUrl}") + @Value("${qx.queryAppModulesUrl:http://117.47.88.120:8081/authority/api/v1/appModules}") private String queryAppModulesUrl; public String queryApp(String userToken, String userId){ diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/YkUtils.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/YkUtils.java index 77c073e..4560232 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/YkUtils.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/utils/YkUtils.java @@ -13,13 +13,13 @@ import org.springframework.stereotype.Component; public class YkUtils { private final Logger logger = LoggerFactory.getLogger(this.getClass()); //参考application.yml配置文件 - @Value("${yk.url}") + @Value("${yk.url:http://36.111.150.83:9527/}") private String url; - @Value("${yk.reqUserId}") + @Value("${yk.reqUserId:1}") private String reqUserId; - @Value("${yk.systemId}") + @Value("${yk.systemId:1}") private String systemId;