- 修复 parse_amount 函数同时支持全角¥和半角¥ - 新增 MonthRangePicker 日期选择组件 - 新增 /api/monthly-stats 接口获取月度统计 - 分析页面月度趋势使用全量数据 - 新增健康检查路由
42 lines
917 B
YAML
42 lines
917 B
YAML
# BillAI 服务器配置文件
|
||
|
||
# 应用版本
|
||
version: "0.0.1"
|
||
|
||
# 服务配置
|
||
server:
|
||
port: 8080
|
||
|
||
# Python 配置 (subprocess 模式使用)
|
||
python:
|
||
# Python 解释器路径(相对于项目根目录或绝对路径)
|
||
path: analyzer/venv/bin/python
|
||
# 分析脚本路径(相对于项目根目录)
|
||
script: analyzer/clean_bill.py
|
||
|
||
# Analyzer 服务配置 (HTTP 模式使用)
|
||
analyzer:
|
||
# Python 分析服务 URL
|
||
url: http://localhost:8001
|
||
# 适配器模式: http (推荐) 或 subprocess
|
||
mode: http
|
||
|
||
# 文件目录配置(相对于项目根目录)
|
||
directories:
|
||
upload: server/uploads
|
||
output: server/outputs
|
||
|
||
# MongoDB 配置
|
||
mongodb:
|
||
# MongoDB 连接 URI(带认证)
|
||
uri: mongodb://admin:password@localhost:27017
|
||
# 数据库名称
|
||
database: billai
|
||
# 集合名称
|
||
collections:
|
||
# 原始数据集合
|
||
raw: bills_raw
|
||
# 清洗后数据集合
|
||
cleaned: bills_cleaned
|
||
|