更新:增加“我的”相关功能

This commit is contained in:
2025-11-06 13:33:41 +08:00
parent d908b049fa
commit 33f861fa14
24 changed files with 4413 additions and 43 deletions

View File

@@ -57,3 +57,79 @@ export interface IForgetPasswordForm {
password: string
confirmPassword: string
}
/**
* VIP信息接口
*/
export interface IVipInfo {
id: number
endTime: string
vipType: number
[key: string]: any
}
/**
* 订单接口
*/
export interface IOrder {
id: number
orderSn: string
bookEntity: {
id: number
name: string
images: string
}
orderMoney: number
paymentMethod: string // '4'-虚拟货币, '5'-真实货币
createTime: string
[key: string]: any
}
/**
* VIP套餐接口
*/
export interface IVipPackage {
id: number
dictType: string // 价格
dictValue: string // 产品ID
money: number
priceTypeId: number
remark: string // 时长(天数)
[key: string]: any
}
/**
* 交易记录接口
*/
export interface ITransaction {
id: number
orderType: string // '充值' | '消费'
changeAmount: number
remark: string
createTime: string
[key: string]: any
}
/**
* 反馈表单接口
*/
export interface IFeedbackForm {
type: string // 问题类型
account: string // 账号
relation?: string // 订单编号(可选)
content: string // 问题描述
contactInformation: string // 联系电话
image?: string // 截图(多张用逗号分隔)
}
/**
* 分页数据接口
*/
export interface IPageData<T> {
records: T[]
total: number
size: number
current: number
pages: number
[key: string]: any
}