单点登录调用权限接口获取菜单authority/api/V1/appModules的接口参数userToken不需要传值,传“ ”就可以

develop
Hoshi 2024-09-21 15:53:39 +08:00
parent 604eb59d38
commit b8b8bdf408
1 changed files with 1 additions and 4 deletions

View File

@ -27,10 +27,7 @@ public class QxUtils {
} }
public String queryAppModules(String userToken, String userId){ public String queryAppModules(String userToken, String userId){
if (userToken == null) { QxReqVo qxReqVo = new QxReqVo("", userId,appId,appName,"","");
userToken = "";
}
QxReqVo qxReqVo = new QxReqVo(userToken, userId,appId,appName,"","");
return call(queryAppModulesUrl,qxReqVo); return call(queryAppModulesUrl,qxReqVo);
} }