记得上下班打卡 | git大法好,push需谨慎

Commit 7faa05be authored by 张国柄's avatar 张国柄

~admin:会员管理:会员订单:接口调用添加HEADER:Accept;

parent 192cbf84
......@@ -216,9 +216,11 @@ public class AdamMemberOrderAdminServiceImpl extends ServiceImpl<AdamMemberOrder
linkedMultiValueMap.add("price", price);
linkedMultiValueMap.add("priceTotal", String.valueOf(memberOrder.getPricePaid()));
linkedMultiValueMap.add("reason", reason);
LinkedMultiValueMap<String, String> linkedMultiheadersMap = new LinkedMultiValueMap<>();
linkedMultiheadersMap.add("Accept", "application/json;charset=UTF-8");
log.info("会员管理:会员订单:退款:支付中心请求参数:{}", linkedMultiValueMap);
String postResult = HttpUtil.post(applyUrl, linkedMultiValueMap);
String postResult = HttpUtil.post(applyUrl, linkedMultiValueMap, linkedMultiheadersMap);
log.info("会员管理:会员订单:退款:支付中心返回数据:{}", postResult);
JsonNode postResultJNode = JsonUtils.fromJson(postResult, JsonNode.class);
......
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