From 0395f31d24e6601c652dfbe2a6826cf8de2037be Mon Sep 17 00:00:00 2001 From: chenqi Date: Sat, 28 Feb 2026 17:24:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(env):=20=E4=BF=AE=E6=AD=A3=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新数据库连接信息为生产环境示例 - 修改调试模式默认值为 False - 添加注释提示生产环境需修改数据库信息 --- backend/.env.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/.env.example b/backend/.env.example index 0773c7e..305fa83 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -1,10 +1,11 @@ # 环境变量配置 # 数据库配置 (PostgreSQL) -DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/hospital_performance +# 生产环境请修改为实际的数据库连接信息 +DATABASE_URL=postgresql+asyncpg://postgresql:Jchl1528@192.168.110.252:15432/hospital_performance # JWT 配置 SECRET_KEY=your-secret-key-change-in-production-min-32-characters # 调试模式 -DEBUG=True +DEBUG=False