更新:增加课程和图书VIP购买及“我的”主页vip身份显示
This commit is contained in:
27
types/vip.d.ts
vendored
Normal file
27
types/vip.d.ts
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* vip套餐项
|
||||
*/
|
||||
export interface IVipItem {
|
||||
courseCount: number | null // 课程数量
|
||||
state: number | null // 状态 0:在有效期, 1:已过期, null: 未购买
|
||||
originalPrice: number | null // 原价
|
||||
title: string // 套餐名称
|
||||
type: number
|
||||
vcbList?: IVipItemProduct[] // 未办理过使用的商品列表
|
||||
yanqiList?: IVipItemProduct[] // 延期使用商品列表
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
/**
|
||||
* vip套餐项商品
|
||||
*/
|
||||
export interface IVipItemProduct {
|
||||
id: number
|
||||
type: number
|
||||
title: string
|
||||
year: number // vip年数
|
||||
rebateFee: number | null, // 折扣后价格
|
||||
fee: number | null, // 课程价格
|
||||
lastFee?: number | null, // 未使用字段
|
||||
[key: string]: any
|
||||
}
|
||||
Reference in New Issue
Block a user