From a71aa1c38bfb2612f9e348ee60c481967958787d Mon Sep 17 00:00:00 2001 From: bayuzhen Date: Fri, 30 Aug 2024 00:17:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=9D=83=E9=99=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/bocloud/sms/service/utils/QxUtils.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 16a85ad..b3d33b6 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 @@ -16,14 +16,18 @@ public class QxUtils { private String queryAppUrl; @Value("${qx.queryAppModulesUrl:http://117.47.88.120:8081/authority/api/v1/appModules}") private String queryAppModulesUrl; + @Value("${qx.appId:portal}") + private String appId; + @Value("${qx.appName:portal}") + private String appName; public String queryApp(String userToken, String userId){ - QxReqVo qxReqVo = new QxReqVo(userToken, userId,"portal","portal","",""); + QxReqVo qxReqVo = new QxReqVo(userToken, userId,appId,appName,"",""); return call(queryAppUrl,qxReqVo); } public String queryAppModules(String userToken, String userId){ - QxReqVo qxReqVo = new QxReqVo(userToken, userId,"portal","portal","",""); + QxReqVo qxReqVo = new QxReqVo(userToken, userId,appId,appName,"",""); return call(queryAppUrl,qxReqVo); }