更新:增加课程和图书VIP购买及“我的”主页vip身份显示

This commit is contained in:
2025-11-27 14:19:51 +08:00
parent 509f735493
commit 7062e675f6
20 changed files with 1117 additions and 66 deletions

20
types/order.d.ts vendored
View File

@@ -4,12 +4,12 @@
export interface IGoods {
productId: number
productName: string
productImages: string
productImages?: string
price: number
vipPrice: number | null
activityPrice: number | null
isVipPrice: number // 是否有VIP优惠 0-否 1-是
productAmount: number // 购买数量
vipPrice?: number | null
activityPrice?: number | null
isVipPrice?: number // 是否有VIP优惠 0-否 1-是
productAmount?: number // 购买数量
delFlag?: number // 删除标记 -1-已下架
}
@@ -39,12 +39,12 @@ export interface IOrder {
export interface IOrderGoods {
productId: number
productName: string
productImages: string
productImages?: string
price: number
vipPrice: number | null
activityPrice: number | null
isVipPrice: number // 是否有VIP优惠 0-否 1-是
productAmount: number // 购买数量
vipPrice?: number | null
activityPrice?: number | null
isVipPrice?: number // 是否有VIP优惠 0-否 1-是
productAmount?: number // 购买数量
goodsType: string // 商品类型 "05" for course
}