|
|
|
@ -42,7 +42,7 @@ public class UserServiceImpl implements UserService { |
|
|
|
String userUrl=userHost+"/slb/usermgt/v1/user-info/"+userIsli; |
|
|
|
String token = "fdasfasd";//请求凭据;
|
|
|
|
// 执行请求操作
|
|
|
|
JSONObject json = RequestUtils.doGetUrlData(userHost,token); |
|
|
|
JSONObject json = RequestUtils.doGetUrlData(userHost,"api_token",token); |
|
|
|
// 解析出用户
|
|
|
|
User user = new User(); |
|
|
|
user.setLegalsName(json.getString("leagal_name")); |
|
|
|
|