更新支付

This commit is contained in:
磷叶 2025-06-06 18:06:06 +08:00
parent 473bbdf809
commit 4cb4ef376e

View File

@ -202,7 +202,7 @@ public class PayServiceImpl implements PayService {
if (result instanceof TmTradeInfo) {
TmTradeInfo info = (TmTradeInfo) result;
channelNo = info.getId();
}
}
// 挂账
else if (result instanceof CreditPayVO) {
CreditPayVO info = (CreditPayVO) result;
@ -400,7 +400,7 @@ public class PayServiceImpl implements PayService {
this.refreshPayResult(no);
// 获取刷新后的订单
PayVO pay = this.selectByNo(no);
log.info("异步刷新支付结果pay = {}", pay);
log.debug("异步刷新支付结果pay = {}", pay);
if (pay == null) {
return;
}
@ -415,7 +415,7 @@ public class PayServiceImpl implements PayService {
// 未支付成功并且还未过期则继续延迟刷新
if (PayStatus.PAYING.getStatus().equals(pay.getStatus()) && seconds > 0) {
log.info("{}未支付成功,继续延迟刷新", pay.getId());
log.debug("{}未支付成功,继续延迟刷新", pay.getId());
scheduledExecutorService.schedule(() -> {
this.refreshPayResultBeforeExpire(no);
}, 20, TimeUnit.SECONDS);