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

Commit c2fc28d5 authored by 胡佳晨's avatar 胡佳晨

修改汇付回调

parent e74e119f
...@@ -581,15 +581,15 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService { ...@@ -581,15 +581,15 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
log.info(UserPathDto.setData("下单(唤起支付)", preParam, payInnerResultVo)); log.info(UserPathDto.setData("下单(唤起支付)", preParam, payInnerResultVo));
if (isFree && preParam.getPayType().equals("huifu")) { if (isFree && preParam.getPayType().equals("huifu")) {
SyncOrderParam syncOrderParam = SyncOrderParam.getNew(); // SyncOrderParam syncOrderParam = SyncOrderParam.getNew();
syncOrderParam.setOrderCode(preParam.getOrderMasterCode()); // syncOrderParam.setOrderCode(preParam.getOrderMasterCode());
syncOrderParam.setPaymentAt(DateUtil.format(LocalDateTime.now(), DateUtil.Formatter.yyyyMMddHHmmss)); // syncOrderParam.setPaymentAt(DateUtil.format(LocalDateTime.now(), DateUtil.Formatter.yyyyMMddHHmmss));
syncOrderParam.setCode(payCode); // syncOrderParam.setCode(payCode);
syncOrderParam.setPrice(preParam.getPriceActual()); // syncOrderParam.setPrice(preParam.getPriceActual());
syncOrderParam.setPaymentId("FREE_PAYMENT_ID"); // syncOrderParam.setPaymentId("FREE_PAYMENT_ID");
syncOrderParam.setPaymentType(null); // syncOrderParam.setPaymentType(null);
syncOrderParam.setStatus(1); // syncOrderParam.setStatus(1);
syncOrder(syncOrderParam); // syncOrder(syncOrderParam);
return ResponseDto.success(payInnerResultVo); return ResponseDto.success(payInnerResultVo);
} else if (isFree) { } else if (isFree) {
SyncOrderParam syncOrderParam = SyncOrderParam.getNew(); SyncOrderParam syncOrderParam = SyncOrderParam.getNew();
......
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