Files
2025-11-27 17:32:58 +08:00

27 lines
708 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 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
}