ingrate pay func
This commit is contained in:
1 parent
67f8e78bad
commit
7526ffa2b9
6 files changed
+58
-15
No files matched your search
@@ -1,12 +1,18 @@
|
||||
export const ORDER_STATE_PENDING = 'Pending';
|
||||
export const ORDER_STATE_PAID = 'Paid';
|
||||
export const ORDER_STATE_EXPIRED = 'Expired';
|
||||
export const ORDER_STATE_FAILED = 'Failed';
|
||||
|
||||
export interface IOrder {
|
||||
id?: string;
|
||||
description?: string;
|
||||
state?: 'Pending' | 'Expired' | 'Paied' | 'Failed';
|
||||
state?: typeof ORDER_STATE_PENDING | typeof ORDER_STATE_PAID | typeof ORDER_STATE_EXPIRED | typeof ORDER_STATE_FAILED;
|
||||
price?: number;
|
||||
creatorId?: number;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
courses?: number[];
|
||||
wechatpayUrl?: string;
|
||||
}
|
||||
|
||||
export interface IOrderListResponse {
|
||||
|
||||
Reference in new issue
Block a user