fix: 修复微信账单金额解析问题(半角¥符号支持)
- 修复 parse_amount 函数同时支持全角¥和半角¥ - 新增 MonthRangePicker 日期选择组件 - 新增 /api/monthly-stats 接口获取月度统计 - 分析页面月度趋势使用全量数据 - 新增健康检查路由
This commit is contained in:
@@ -38,3 +38,10 @@ type CleanedBill struct {
|
||||
SourceFile string `bson:"source_file" json:"source_file"` // 来源文件名
|
||||
UploadBatch string `bson:"upload_batch" json:"upload_batch"` // 上传批次(时间戳)
|
||||
}
|
||||
|
||||
// MonthlyStat 月度统计数据
|
||||
type MonthlyStat struct {
|
||||
Month string `bson:"month" json:"month"` // 月份 YYYY-MM
|
||||
Expense float64 `bson:"expense" json:"expense"` // 月支出总额
|
||||
Income float64 `bson:"income" json:"income"` // 月收入总额
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user