支付相关
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user