查询用户相关信息
parent
8bdf6b6751
commit
4b34fcc451
|
@ -85,15 +85,15 @@ public class IndexServiceImpl implements IndexService {
|
||||||
public GeneralResult userDataStatic(RequestContext requestContext) {
|
public GeneralResult userDataStatic(RequestContext requestContext) {
|
||||||
try {
|
try {
|
||||||
//查询当前用户授权应用
|
//查询当前用户授权应用
|
||||||
JSONObject param = new JSONObject();
|
// JSONObject param = new JSONObject();
|
||||||
param.put("userId", "1111");
|
// param.put("userId", "1111");
|
||||||
param.put("type", "user");
|
// param.put("type", "user");
|
||||||
String result = ykUtil.call(YkInfo.getUserAppList, param, JSONArray.class);
|
// String result = ykUtil.call(YkInfo.getUserAppList, param, JSONArray.class);
|
||||||
|
|
||||||
//获取用户信息
|
//获取用户信息
|
||||||
JSONObject userParam = new JSONObject();
|
JSONObject userParam = new JSONObject();
|
||||||
param.put("userParam", "1111");
|
userParam.put("userId", "1111");
|
||||||
String userRolesStr = ykUtil.call(YkInfo.getUserRoles, param, JSONArray.class);
|
String userRolesStr = ykUtil.call(YkInfo.getUserRoles, userParam, JSONArray.class);
|
||||||
|
|
||||||
|
|
||||||
return new GeneralResult(true, "查询成功");
|
return new GeneralResult(true, "查询成功");
|
||||||
|
|
Loading…
Reference in New Issue