支付协议修改

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
@@ -32,6 +32,7 @@ export class PaymentService {
/** 发起支付:创建订单→打开URL→回到App后开始轮询 */
async startPayment(req: proto.cs.ICSCreateOrderReq, open: OpenStrategy = "system"): Promise<proto.cs.ICSQueryOrderRes> {
// 下单
console.log("创建订单的请求数据:", req);
const create = await PaymentApi.I.createOrder(req);
console.log("创建订单的响应数据:", create);
if (create.code !== proto.cs.EnmRetCode.SUCCESS || !create.data) {