查询用户相关信息

develop
guyuliang 2024-08-26 17:31:45 +08:00
parent 8bdf6b6751
commit 4b34fcc451
1 changed files with 6 additions and 6 deletions

View File

@ -85,15 +85,15 @@ public class IndexServiceImpl implements IndexService {
public GeneralResult userDataStatic(RequestContext requestContext) {
try {
//查询当前用户授权应用
JSONObject param = new JSONObject();
param.put("userId", "1111");
param.put("type", "user");
String result = ykUtil.call(YkInfo.getUserAppList, param, JSONArray.class);
// JSONObject param = new JSONObject();
// param.put("userId", "1111");
// param.put("type", "user");
// String result = ykUtil.call(YkInfo.getUserAppList, param, JSONArray.class);
//获取用户信息
JSONObject userParam = new JSONObject();
param.put("userParam", "1111");
String userRolesStr = ykUtil.call(YkInfo.getUserRoles, param, JSONArray.class);
userParam.put("userId", "1111");
String userRolesStr = ykUtil.call(YkInfo.getUserRoles, userParam, JSONArray.class);
return new GeneralResult(true, "查询成功");