export enum OrderType { OrderTypeArticle = 1, OrderTypeColumn = 2 } export interface Order { id: number; orderNo: string; targetId: number; type: number; amount: number; duration: number; status: number; description: string; createdAt: string; updatedAt: string; } export interface PaymentRequest { orderNo: string; amount: number; paymentType: 'wechat' | 'alipay'; } export interface Payment { id: number; orderNo: string; amount: number; paymentType: string; status: string; createdAt: string; updatedAt: string; } export interface WechatPayParams { appId: string; timeStamp: string; nonceStr: string; package: string; signType: string; paySign: string; }