支付相关

This commit is contained in:
chen wei bo
2025-09-11 10:45:03 +08:00
parent 00c2a0513e
commit d4d68c4aec
2 changed files with 20 additions and 1 deletions
@@ -35,6 +35,7 @@ export class PaymentService {
async startPayment(req: proto.cs.ICSCreateOrderReq, open: OpenStrategy = "system"): Promise<proto.cs.ICSQueryOrderRes | null> {
// 下单
const create = await PaymentApi.I.createOrder(req);
console.log("创建订单的响应数据:", create);
if (create.code !== proto.cs.EnmRetCode.SUCCESS || !create.data) {
return { status: -1, retCode: -1 };
}