Merge remote-tracking branch 'upstream/v8.0' into v8.0

This commit is contained in:
sugar1569 2026-09-25 02:01:15 +08:00
commit 04908b0a54
4 changed files with 24 additions and 0 deletions

8
frontend/admin/.env Normal file
View File

@ -0,0 +1,8 @@
# 所有环境默认
# 页面 title
VITE_APP_TITLE=CRMEB
# socket 客服连接地址
VITE_APP_WS_KEFU_URL=
# socket 系统连接地址
VITE_APP_WS_ADMIN_URL=

9
frontend/admin/.env.dev Normal file
View File

@ -0,0 +1,9 @@
# 接口请求地址(留空 = 同源 /adminapi,开发环境走 vite 代理到 localhost:8011)
# 如需直连其他后端(如联调环境),取消下行注释并修改
# VITE_APP_API_URL=https://demo.crmeb.com/adminapi
VITE_APP_API_URL =
# 环境
VITE_APP_ENV = dev
# 页面 title
VITE_APP_TITLE = CRMEB
VITE_APP_H5_URL = http://localhost:5173

4
frontend/uni-app/.env Normal file
View File

@ -0,0 +1,4 @@
# 公共环境变量(dev / build 所有模式、所有平台生效)
# 接口地址:留空时回退 src/config/app.js 内各端默认值(MP/APP: demo 地址,H5: 当前域名)
# 优先级:.env.local > .env.[development|production] > .env
UNI_APP_API_URL =

View File

@ -0,0 +1,3 @@
# 开发环境(npm run dev:*)
# H5 本地联调的后端地址(原 config/app.js 硬编码值迁入;小程序/APP 真机联调也走此地址)
UNI_APP_API_URL =