chore: sync local changes before merging huangzhenbao-admin

This commit is contained in:
comlibmb
2026-02-03 08:56:35 +08:00
325 changed files with 55791 additions and 13448 deletions

15
types/charts.uts Normal file
View 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
View File

@@ -0,0 +1,8 @@
/**
* 订单统计数据接口
*/
export interface OrderStat {
date: string; // 日期, 例如 "01-04"
totalAmount: number;// 订单金额
orderCount: number; // 订单数量
}