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