diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java index 97a00a0..db10b8d 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java @@ -105,8 +105,11 @@ public class IndexServiceImpl implements IndexService { //获取用户数据权限申请数量 JSONObject userParam = new JSONObject(); userParam.put("userId", "1111"); - String userRolesStr = ykUtil.call(YkInfo.getUserDataJurisdiction, userParam, JSONArray.class); + String userDataAuthStr = ykUtil.call(YkInfo.getUserDataAuth, userParam, JSONArray.class); + List userDataJAuthJson = JSONObject.parseObject(userDataAuthStr, List.class); + List authResList = JSONObject.parseObject(userDataJAuthJson.get(0).getString("authRes"),List.class); + resultMap.put("userAuthList", authResList.size()); return new GeneralResult(true, resultMap, "查询成功"); } catch (Exception e) {