feat: 初始化数据库模式并引入AI记账服务。

This commit is contained in:
2026-01-28 15:46:21 +08:00
parent 6604f50448
commit 57def08201
5 changed files with 86 additions and 28 deletions

View File

@@ -16,20 +16,20 @@ DATA_DIR=./data
# ============================================
# MySQL 数据库配置(必填)
# ============================================
# 默认指向本地如果需要连线上请修改IP
DB_HOST=127.0.0.1
# MySQL 数据库配置
DB_HOST=124.221.157.197
DB_PORT=3306
DB_USER=root
DB_PASSWORD=root
DB_USER=bookkeeping
DB_PASSWORD=bookkeeping
DB_NAME=bookkeeping
# DB_ROOT_PASSWORD=
DB_ROOT_PASSWORD=lihuaLIHUA
DB_CHARSET=utf8mb4
# ============================================
# Redis 配置(可选,用于汇率缓存)
# ============================================
REDIS_ADDR=127.0.0.1:6379
REDIS_PASSWORD=
REDIS_ADDR=124.221.157.197:6379
REDIS_PASSWORD=lihua0101LIHUA
REDIS_DB=0
# ============================================