This commit is contained in:
2026-08-14 23:18:54 +08:00
parent 4c2ea5521d
commit 50fd032b45
2 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@@ -25,7 +25,6 @@ frontend/dist/
.cache/ .cache/
# ---------- Env / Secrets ---------- # ---------- Env / Secrets ----------
.env
*.env *.env
!.env.example !.env.example
!*.env.example !*.env.example

10
backend/.env Normal file
View File

@@ -0,0 +1,10 @@
DATABASE_URL=postgresql+asyncpg://postgres:Cirry0115@cirry.cn:5432/stock
TUSHARE_TOKEN=22edda0afe44c0609a187ff1ac0bb2a8fc61430f490ec19f7fec8390
DATA_ADJUST=qfq
DATA_DEFAULT_START=20200101
# ---- LLM智能选股智谱 GLMOpenAI 兼容协议)----
# key 在 https://bigmodel.cn 控制台获取,格式形如 xxxxxxxx.yyyyyyyyid.secret
LLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4
LLM_API_KEY=ea24bbdd3d2d4dd2b8f03de4c9a5d984.9X1Hz1yKx0VKSnrU
LLM_MODEL=glm-5.2