调整请求方法
This commit is contained in:
parent
60bfe99241
commit
9f037f4144
@ -212,7 +212,7 @@ public class UserServiceImpl extends AbstractService implements IUserService {
|
||||
Map<String, Object> params = getHashMap(4);
|
||||
params.put("userIds", userIdsSB.toString());
|
||||
params.put(IApiConsts.ACCESS_TOKEN, ClientTokenManager.getInstance().getClientToken().getAccessToken());
|
||||
String result = restTemplateUtil.doPostForm(String.format(IApiConsts.LIST_USER_BY_ID, apiPathProperties.getUserCenter()), params);
|
||||
String result = restTemplateUtil.doPostFormNormal(String.format(IApiConsts.LIST_USER_BY_ID, apiPathProperties.getUserCenter()), params);
|
||||
searchResourceResult(result, "获取人员列表失败");
|
||||
return JSONArray.parseArray(result, UserResourceBO.class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user