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

Commit 709808a6 authored by jiangxiulong's avatar jiangxiulong

refund headers

parent 977aa821
......@@ -438,11 +438,10 @@ public class KylinRefundsStatusServiceImpl {
headers.add("Content-Type", "application/json;charset=UTF-8");
headers.add("Accept", "application/json;charset=UTF-8");
log.info("退款参数" + JsonUtils.toJson(params));
log.info("退款headers参数" + JsonUtils.toJson(headers));
// 请求pay
String postResult = null;
try {
postResult = HttpUtil.post(applyUrl, params);
postResult = HttpUtil.post(applyUrl, params, headers);
log.info("退款res" + postResult);
HashMap hashMapResult = JsonUtils.fromJson(postResult, HashMap.class);
Boolean success = (Boolean) hashMapResult.get("success");
......
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