查询用户相关信息
parent
57ec1cc335
commit
4dff1e3810
|
@ -105,8 +105,11 @@ public class IndexServiceImpl implements IndexService {
|
||||||
//获取用户数据权限申请数量
|
//获取用户数据权限申请数量
|
||||||
JSONObject userParam = new JSONObject();
|
JSONObject userParam = new JSONObject();
|
||||||
userParam.put("userId", "1111");
|
userParam.put("userId", "1111");
|
||||||
String userRolesStr = ykUtil.call(YkInfo.getUserDataJurisdiction, userParam, JSONArray.class);
|
String userDataAuthStr = ykUtil.call(YkInfo.getUserDataAuth, userParam, JSONArray.class);
|
||||||
|
List<JSONObject> userDataJAuthJson = JSONObject.parseObject(userDataAuthStr, List.class);
|
||||||
|
List<JSONObject> authResList = JSONObject.parseObject(userDataJAuthJson.get(0).getString("authRes"),List.class);
|
||||||
|
|
||||||
|
resultMap.put("userAuthList", authResList.size());
|
||||||
|
|
||||||
return new GeneralResult(true, resultMap, "查询成功");
|
return new GeneralResult(true, resultMap, "查询成功");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue