支付协议修改
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user