支付协议修改

This commit is contained in:
chen wei bo
2025-09-18 19:00:14 +08:00
parent b6b702d0dd
commit 50590af3d0
3 changed files with 4 additions and 3 deletions
@@ -41,9 +41,9 @@ export class PaymentPoller {
this.currentPollCount++;
// 查询
let reqData = {orderId: orderId};
console.log("第 ", this.currentPollCount, " 次轮询订单的请求数据:", reqData);
console.log("订单:", orderId, " ,第 ", this.currentPollCount, " 次轮询订单的请求数据:", reqData);
const r = await PaymentApi.I.queryOrder(reqData);
console.log("第 ", this.currentPollCount, " 次轮询订单的响应数据:", r);
console.log("订单:", orderId, " ,第 ", this.currentPollCount, " 次轮询订单的响应数据:", r);
if (r.code === proto.cs.EnmRetCode.SUCCESS && r.data) {
// 回调
onTick?.(r.data);