From cf73bbae23ae887985de9b0116c0b593a3107833 Mon Sep 17 00:00:00 2001 From: jacy <18049821889@163.com> Date: Tue, 21 Jul 2026 00:01:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E7=9A=84=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/dukang-api/.env.production.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/dukang-api/.env.production.example b/server/dukang-api/.env.production.example index 233dd22..ee56f8a 100644 --- a/server/dukang-api/.env.production.example +++ b/server/dukang-api/.env.production.example @@ -4,7 +4,8 @@ NODE_ENV=production -DATABASE_URL="mysql://dukang:CHANGE_ME@localhost:3306/dukang_haoke" +# 生产:阿里云 RDS(密码中的 @ ! 需 URL 编码为 %40 %21) +DATABASE_URL="mysql://dukangadmin:CHANGE_ME@rm-xxxxxxxx.mysql.rds.aliyuncs.com:3306/dukang_prod?charset=utf8mb4" REDIS_URL="redis://localhost:6379" JWT_SECRET="CHANGE_ME-strong-random-secret" JWT_EXPIRES_IN="7d"