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

Commit 48a88a0d authored by jiangxiulong's avatar jiangxiulong

退款回调

parent 0034615d
...@@ -247,8 +247,12 @@ public class KylinRefundsStatusServiceImpl { ...@@ -247,8 +247,12 @@ public class KylinRefundsStatusServiceImpl {
log.info("订单退款回调orderTicketRefunded-退所有优惠券:[orderTicketsId={}, [params={}, candyUrl={}]", log.info("订单退款回调orderTicketRefunded-退所有优惠券:[orderTicketsId={}, [params={}, candyUrl={}]",
orderTicketsId, params, candyUrl); orderTicketsId, params, candyUrl);
String returnData = HttpUtil.post(candyUrl + "/candy-coupon/useBack", params, headers); try {
log.info("超时支付退款退券结果:{}", returnData); String returnData = HttpUtil.post(candyUrl + "/candy-coupon/useBack", params, headers);
log.info("订单退款回调退券结果:[returnData={}]", returnData);
} catch (Exception e) {
log.info("订单退款回调退券异常:[errorMsg={}]", e.getMessage());
}
} }
} }
} }
......
...@@ -61,6 +61,7 @@ public class OrderRefundsCallbackServiceImpl extends ServiceImpl<KylinOrderRefun ...@@ -61,6 +61,7 @@ public class OrderRefundsCallbackServiceImpl extends ServiceImpl<KylinOrderRefun
private DataUtils dataUtils; private DataUtils dataUtils;
public String refundCallback(RefundCallbackParam refundCallbackParam) { public String refundCallback(RefundCallbackParam refundCallbackParam) {
log.info("订单退款回调参数:[RefundCallbackParam={}]", refundCallbackParam);
KylinOrderRefunds refundInfo = kylinOrderRefundsMapper.selectOne( KylinOrderRefunds refundInfo = kylinOrderRefundsMapper.selectOne(
new UpdateWrapper<KylinOrderRefunds>() new UpdateWrapper<KylinOrderRefunds>()
.eq("order_refund_code", refundCallbackParam.getOrderRefundCode()) .eq("order_refund_code", refundCallbackParam.getOrderRefundCode())
......
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