feat: 后端初始化2

This commit is contained in:
2026-07-28 15:43:27 +08:00
parent dfe0d6bd95
commit 53305757f8
26 changed files with 734 additions and 36 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
# Pooled Neon connection string for Netlify Functions runtime.
DATABASE_URL="postgresql://USER:PASSWORD@HOST-pooler.REGION.aws.neon.tech/DB?sslmode=require"
# Direct Neon connection string for Prisma CLI commands such as migrate.
DIRECT_URL="postgresql://USER:PASSWORD@HOST.REGION.aws.neon.tech/DB?sslmode=require"
# MySQL connection string for Netlify Functions runtime and Prisma CLI.
DATABASE_URL="mysql://supper:Supper%40123456@localhost:10086/supplier_db"
# Optional app settings.
JWT_SECRET="replace-me"
UPLOAD_TOKEN="replace-me"
# Main points mall bridge API, for example http://localhost/open.
POINTS_MALL_OPEN_API_BASE="http://localhost/open"