From 0076418886e1cb9a5af15919fa34f89513561036 Mon Sep 17 00:00:00 2001 From: "lenovo008\\lenovo" Date: Thu, 1 Aug 2024 11:27:59 +0800 Subject: [PATCH] s --- yudao-mall-uniapp-master/.env | 21 +++++++++++++++++++++ yudao-mall-uniapp-master/.gitignore | 1 - 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 yudao-mall-uniapp-master/.env diff --git a/yudao-mall-uniapp-master/.env b/yudao-mall-uniapp-master/.env new file mode 100644 index 0000000..b44381e --- /dev/null +++ b/yudao-mall-uniapp-master/.env @@ -0,0 +1,21 @@ +# 版本号 +SHOPRO_VERSION = v1.8.3 + +# 后端接口 - 正式环境(通过 process.env.NODE_ENV 非 development) +SHOPRO_BASE_URL = http://api-dashboard.yudao.iocoder.cn + +# 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) +# SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080// 测试环境变量问题 +### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc + +# 后端接口前缀(一般不建议调整) +SHOPRO_API_PATH = /app-api + +# 开发环境运行端口 +SHOPRO_DEV_PORT = 3000 + +# 客户端静态资源地址 空=默认使用服务端指定的CDN资源地址前缀 | local=本地 | http(s)://xxx.xxx=自定义静态资源地址前缀 +SHOPRO_STATIC_URL = https://file.sheepjs.com + +# 是否开启直播 1 开启直播 | 0 关闭直播 (小程序官方后台未审核开通直播权限时请勿开启) +SHOPRO_MPLIVE_ON = 0 \ No newline at end of file diff --git a/yudao-mall-uniapp-master/.gitignore b/yudao-mall-uniapp-master/.gitignore index 0670590..43dda18 100644 --- a/yudao-mall-uniapp-master/.gitignore +++ b/yudao-mall-uniapp-master/.gitignore @@ -5,7 +5,6 @@ deploy.sh .hbuilderx/ .vscode/ **/.DS_Store -.env yarn.lock package-lock.json *.keystore