chore: sync local changes before merging huangzhenbao-admin
This commit is contained in:
15
types/charts.uts
Normal file
15
types/charts.uts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 用户趋势数据结构
|
||||
*/
|
||||
export interface UserTrend {
|
||||
date: string; // 日期, 例如 "01-03"
|
||||
count: number; // 用户数
|
||||
}
|
||||
|
||||
/**
|
||||
* 购买用户统计数据结构
|
||||
*/
|
||||
export interface PurchaseUserStat {
|
||||
label: string; // 分级标签: "未消费用户", "消费一次用户", "留存客户", "回流客户"
|
||||
value: number; // 用户数量
|
||||
}
|
||||
8
types/orders.uts
Normal file
8
types/orders.uts
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* 订单统计数据接口
|
||||
*/
|
||||
export interface OrderStat {
|
||||
date: string; // 日期, 例如 "01-04"
|
||||
totalAmount: number;// 订单金额
|
||||
orderCount: number; // 订单数量
|
||||
}
|
||||
Reference in New Issue
Block a user