From 4b34fcc45123fb1f2ccc69d66432e294ea83331c Mon Sep 17 00:00:00 2001 From: guyuliang Date: Mon, 26 Aug 2024 17:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E7=94=A8=E6=88=B7=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bocloud/sms/service/IndexServiceImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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, "查询成功");