支付协议修改
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 支付流程的相关接口
|
||||
*
|
||||
*/
|
||||
import type proto from "db://assets/Scripts/proto/proto.pb.js";
|
||||
import { type OpenStrategy } from "./PaymentOpener";
|
||||
|
||||
export interface PaymentFlow {
|
||||
/** 开始支付流程 */
|
||||
run(orderId: string, payUrl: string, open: OpenStrategy): Promise<proto.cs.ICSQueryOrderRes | null>;
|
||||
|
||||
/** 恢复未完成订单 */
|
||||
resume(orderId: string, payUrl: string): Promise<proto.cs.ICSQueryOrderRes | null>;
|
||||
}
|
||||
Reference in New Issue
Block a user