调整请求方法

This commit is contained in:
wenc000 2020-10-09 16:13:17 +08:00
parent 60bfe99241
commit 9f037f4144

View File

@ -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);
}