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 6f69b74..41d6e03 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 @@ -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, "查询成功");