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

Commit 8e915784 authored by jiangxiulong's avatar jiangxiulong

test

parent acf2ddd6
...@@ -431,16 +431,19 @@ public class KylinRefundsStatusServiceImpl { ...@@ -431,16 +431,19 @@ public class KylinRefundsStatusServiceImpl {
String postResult = null; String postResult = null;
try { try {
postResult = HttpUtil.post(applyUrl, params); postResult = HttpUtil.post(applyUrl, params);
log.info("退款res" + postResult);
HashMap hashMapResult = JsonUtils.fromJson(postResult, HashMap.class); HashMap hashMapResult = JsonUtils.fromJson(postResult, HashMap.class);
Boolean success = (Boolean) hashMapResult.get("success"); Boolean success = (Boolean) hashMapResult.get("success");
log.info("success" + success.toString());
if (!success) { if (!success) {
String msg = (String) hashMapResult.get("message"); String msg = (String) hashMapResult.get("message");
log.error("退款pay返回失败" + msg); log.info("退款pay返回失败" + msg);
return false; return false;
} }
} catch (Exception e) { } catch (Exception e) {
log.error("退款请求pay失败" + e.getMessage()); log.info("退款请求pay失败e" + e.getMessage());
} }
log.info("success111");
// 更新退款表 // 更新退款表
kylinOrderRefundsMapper.update( kylinOrderRefundsMapper.update(
kylinOrderRefunds, kylinOrderRefunds,
......
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