调用权限系统接口添加配置项
parent
f2861c2712
commit
a71aa1c38b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue