consumer模块完成90%,前端完成supabase对接

This commit is contained in:
2026-02-04 17:21:15 +08:00
parent 8a535e3f38
commit 39aa1b6bec
1335 changed files with 191376 additions and 4 deletions

15
mall/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; // 用户数量
}