feat:"完成页面接口的对接"
This commit is contained in:
36
后端/.env
Normal file
36
后端/.env
Normal file
@@ -0,0 +1,36 @@
|
||||
# 数据库配置
|
||||
DB_HOST=8.130.78.179
|
||||
DB_PORT=9986
|
||||
DB_USER=sffx
|
||||
DB_PASS=wF5WKm35Ddm5NDTn
|
||||
DB_NAME=sffx
|
||||
|
||||
# JWT 配置
|
||||
JWT_SECRET=youyijia-sofa-jwt-secret-key-2024
|
||||
JWT_EXPIRES_IN=7d
|
||||
JWT_REFRESH_SECRET=youyijia-sofa-refresh-secret-key-2024
|
||||
JWT_REFRESH_EXPIRES_IN=30d
|
||||
|
||||
# 服务器配置
|
||||
PORT=3000
|
||||
NODE_ENV=development
|
||||
|
||||
# 微信小程序配置
|
||||
WECHAT_APPID=wx89f1cd89fbc55f54
|
||||
WECHAT_SECRET=cb0697a56ab07147285f77ef555d2750
|
||||
|
||||
# 服务器配置
|
||||
PORT=3000
|
||||
|
||||
# 文件上传配置
|
||||
UPLOAD_DIR=uploads
|
||||
MAX_FILE_SIZE=5242880
|
||||
|
||||
# 跨域配置
|
||||
CORS_ORIGIN=http://localhost:8080
|
||||
|
||||
# Redis 配置 (可选)
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
REDIS_DB=0
|
||||
Reference in New Issue
Block a user