Commit 10445e97 authored by Java—KA—李 青's avatar Java—KA—李 青

修改http请求方式

parent f2c44c17
......@@ -103,7 +103,7 @@ public class LkbUserviceImpl implements ILkbUserService {
if (StringUtils.isNotBlank(idNo)){
parameters.put("idCardNo", idNo);
}
String response = httpService.get(clientUrl + userPushPath, parameters);
String response = httpService.post(clientUrl + userPushPath, parameters);
Optional<Map> resultOptional = JsonUtil.fromJson(response, Map.class);
if (!resultOptional.isPresent() || !"0000".equals(resultOptional.get().get("code"))) {
LOGGER.error("[lkb_user_push]向LKB同步用户失败,phoneNo:{},response={}", phoneNo, response);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment