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

Commit 48a88a0d authored by jiangxiulong's avatar jiangxiulong

退款回调

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