feat: 初始化平台总后台与核心API

This commit is contained in:
2026-07-26 18:06:14 +08:00
parent 44122809b1
commit 4382641e19
38 changed files with 1837 additions and 25 deletions

7
backend/.env.example Normal file
View File

@@ -0,0 +1,7 @@
# PostgreSQL 为首期唯一必需的真实依赖;请仅在本地环境文件中填写真实连接串。
DATABASE_URL=postgres://postgres:change-me@localhost:5432/agent_dev?sslmode=disable
PORT=8080
# 其它外部能力在首期使用 Mock不要在仓库提交真实 Redis、支付或 IoT 凭证。
REDIS_URL=redis://default:change-me@127.0.0.1:6379/0
APP_ENV=development