2024-01-04 17:20:01 +00:00
|
|
|
|
# 版本号
|
2024-10-07 07:28:12 +00:00
|
|
|
|
SHOPRO_VERSION=v2.3.0
|
2024-01-04 17:20:01 +00:00
|
|
|
|
|
2024-03-05 05:47:01 +00:00
|
|
|
|
# 后端接口 - 正式环境(通过 process.env.NODE_ENV 非 development)
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_BASE_URL=http://api-dashboard.yudao.iocoder.cn
|
2024-01-04 17:20:01 +00:00
|
|
|
|
|
2024-03-05 05:47:01 +00:00
|
|
|
|
# 后端接口 - 测试环境(通过 process.env.NODE_ENV = development)
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_DEV_BASE_URL=http://127.0.0.1:48080
|
2024-01-20 05:13:28 +00:00
|
|
|
|
### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc
|
|
|
|
|
|
2024-09-24 09:16:38 +00:00
|
|
|
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
2024-09-28 12:25:32 +00:00
|
|
|
|
SHOPRO_UPLOAD_TYPE=server
|
2024-09-24 09:16:38 +00:00
|
|
|
|
|
2024-01-20 05:13:28 +00:00
|
|
|
|
# 后端接口前缀(一般不建议调整)
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_API_PATH=/app-api
|
2024-01-04 17:20:01 +00:00
|
|
|
|
|
2024-06-12 09:05:14 +00:00
|
|
|
|
# 后端 websocket 接口前缀
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_WEBSOCKET_PATH=/infra/ws
|
2024-06-12 09:05:14 +00:00
|
|
|
|
|
2024-01-04 17:20:01 +00:00
|
|
|
|
# 开发环境运行端口
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_DEV_PORT=3000
|
2024-01-04 17:20:01 +00:00
|
|
|
|
|
|
|
|
|
# 客户端静态资源地址 空=默认使用服务端指定的CDN资源地址前缀 | local=本地 | http(s)://xxx.xxx=自定义静态资源地址前缀
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_STATIC_URL=http://test.yudao.iocoder.cn
|
2024-09-07 08:15:43 +00:00
|
|
|
|
### SHOPRO_STATIC_URL = https://file.sheepjs.com
|
2024-01-04 17:20:01 +00:00
|
|
|
|
|
|
|
|
|
# 是否开启直播 1 开启直播 | 0 关闭直播 (小程序官方后台未审核开通直播权限时请勿开启)
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_MPLIVE_ON=0
|
2024-07-25 16:11:07 +00:00
|
|
|
|
|
|
|
|
|
# 租户ID 默认 1
|
2024-09-25 15:16:50 +00:00
|
|
|
|
SHOPRO_TENANT_ID=1
|