更新:增加订单详情功能

This commit is contained in:
2025-11-28 18:03:13 +08:00
parent 0e7952ac4e
commit bdf1b41098
13 changed files with 392 additions and 55 deletions

22
types/order.d.ts vendored
View File

@@ -11,6 +11,7 @@ export interface IGoods {
isVipPrice?: number // 是否有VIP优惠 0-否 1-是
productAmount?: number // 购买数量
delFlag?: number // 删除标记 -1-已下架
goodsType?: string // 商品类型 "05" 课程 "02" 电子书
}
/**
@@ -138,3 +139,24 @@ export interface IPaymentOption {
value: '4' | '5'
name: string
}
/**
* 订单详情
*/
export interface IOrderDetail {
id: number
orderSn: string
orderMoney: number
realMoney: number
paymentDate: string
createTime: string
orderType: string
districtMoney?: number
vipDiscountAmount?: number
couponId?: number
couponName?: string
couponAmount?: number
jfDeduction?: number
remark?: string
[key: string]: any
}