Initial commit
This commit is contained in:
37
server/.env.dev
Normal file
37
server/.env.dev
Normal file
@@ -0,0 +1,37 @@
|
||||
# 开发环境变量配置
|
||||
GO_ENV=development
|
||||
|
||||
# 数据库配置
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=JKjk20011115
|
||||
DB_NAME=ai_dianshang_dev
|
||||
|
||||
# Redis配置
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
REDIS_DB=0
|
||||
|
||||
# JWT配置
|
||||
JWT_SECRET=dev-jwt-secret-key-not-for-production
|
||||
JWT_EXPIRE=7200
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL=debug
|
||||
|
||||
# 微信小程序配置
|
||||
WECHAT_APP_ID=wx430b70d696b4dbd7
|
||||
WECHAT_APP_SECRET=147751f8789272e56a43f748bec4b56b
|
||||
|
||||
# 微信支付配置(开发环境)
|
||||
WECHAT_PAY_APP_ID=wx430b70d696b4dbd7
|
||||
WECHAT_PAY_MCH_ID=
|
||||
WECHAT_PAY_API_V3_KEY=
|
||||
WECHAT_PAY_CERT_PATH=
|
||||
WECHAT_PAY_KEY_PATH=
|
||||
WECHAT_PAY_SERIAL_NO=
|
||||
WECHAT_PAY_NOTIFY_URL=http://localhost:8080/api/payment/notify
|
||||
WECHAT_PAY_REFUND_NOTIFY_URL=http://localhost:8080/api/refunds/callback
|
||||
WECHAT_PAY_ENVIRONMENT=sandbox
|
||||
Reference in New Issue
Block a user