查询用户相关信息
							parent
							
								
									8bdf6b6751
								
							
						
					
					
						commit
						4b34fcc451
					
				| 
						 | 
				
			
			@ -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, "查询成功");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue