feat: restore risk assessment workspace and improve page scrolling

This commit is contained in:
NathanAlex7
2026-09-07 02:28:37 +08:00
parent db5d6763f1
commit f2439ee5a3
65 changed files with 13612 additions and 2649 deletions
+18 -12
View File
@@ -1,14 +1,20 @@
# OpenAI API Configuration
OPENAI_API_KEY=sk-xxx
OPENAI_BASE_URL=https://api.openai.com/v1
MODEL_NAME=gpt-4o-mini
# ============ DeepSeek LLM 配置 ============
DEEPSEEK_API_KEY=your_deepseek_api_key_here
DEEPSEEK_MODEL=deepseek-chat
DEEPSEEK_BASE_URL=https://api.deepseek.com
# Embedding model
EMBEDDING_MODEL=text-embedding-3-small
# ============ ERP 数据库配置(加密连接)============
# 注意:生产环境使用 Docker Secrets,不要直接写在 .env 文件中
ERP_DB_HOST=your_erp_db_host
ERP_DB_PORT=5432
ERP_DB_NAME=xingbang_erp
ERP_DB_USER=readonly_user # 只读账号
ERP_DB_PASSWORD=your_readonly_password
ERP_DB_SSL_MODE=require # 强制 SSL 连接
# Server
HOST=0.0.0.0
PORT=8002
# OpenWeather API Configuration
OPENWEATHER_API_KEY=your_openweather_api_key_here
# ============ 审计日志路径 ============
ERP_AUDIT_LOG=./logs/erp_access.log
# ============ 其他配置 ============
BACKEND_PORT=8002
FRONTEND_PORT=3000