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); }