feat: 后端初始化2
This commit is contained in:
@@ -25,10 +25,12 @@ prisma/
|
||||
|
||||
Copy `.env.example` to `.env` and set:
|
||||
|
||||
- `DATABASE_URL`: pooled Neon connection string for Netlify Functions runtime
|
||||
- `DIRECT_URL`: direct Neon connection string for Prisma CLI and migrations
|
||||
- `DATABASE_URL`: Neon Postgres connection string for Netlify Functions runtime and Prisma CLI
|
||||
- `JWT_SECRET`: auth signing secret
|
||||
- `UPLOAD_TOKEN`: upload guard token
|
||||
- `POINTS_MALL_OPEN_API_BASE`: main platform bridge base URL, for example `http://localhost/open`
|
||||
|
||||
Supplier H5 uses `VUE_APP_SUPPLIER_IDENTIFICATION` to request supplier config from this service. The supplier `clientSecret` stays in the database and is only used by the Netlify Function when requesting the platform bridge token.
|
||||
|
||||
## Scripts
|
||||
|
||||
@@ -55,3 +57,5 @@ Current placeholders:
|
||||
- `order-pay`
|
||||
- `user-info`
|
||||
- `upload`
|
||||
- `supplier-info`
|
||||
- `supplier-token`
|
||||
|
||||
Reference in New Issue
Block a user