Files
hjc-web/.env.development
T
2026-09-19 00:52:04 +08:00

41 lines
1.7 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# 本地开发配置(npm run dev
# ------------------------------------------------------------
# 该文件会被提交到 git,供所有开发者共享;个人差异请写进
# .env.local(不提交,优先级更高)。
# ============================================================
# ---------- 租户 / 模板 ----------
# 本地开发用固定租户,生产环境通过域名自动识别租户
NUXT_PUBLIC_TENANT_ID=10626
NUXT_PUBLIC_APP_ID=website
NUXT_PUBLIC_TEMPLATE_ID=template-07
# 本地调试用:强制指定模板,优先级高于应用/站点绑定。留空表示不覆盖
NUXT_PUBLIC_FORCE_TEMPLATE_ID=
# ---------- 后端接口 ----------
# 本地后端(hjc-java)默认端口 9200。
# 若要联调远程环境,把下面两行注释掉即可,nuxt.config.ts 会自动回落到生产地址
NUXT_PUBLIC_MODULES_API_BASE=http://127.0.0.1:9200/api
# 本地后端同时提供图片/文件时打开(默认走 https://server.websoft.top
# NUXT_PUBLIC_FILE_SERVER_BASE=http://127.0.0.1:9200
# 其余接口本地开发直接走远程(一般无需修改)
NUXT_PUBLIC_SERVER_API_BASE=https://server.websoft.top/api
NUXT_PUBLIC_APP_API_BASE=https://websopy-api.websoft.top
# ---------- 站点 / 多租户域名 ----------
NUXT_PUBLIC_BASE_DOMAIN=shoplnk.cn
NUXT_PUBLIC_BASE_DOMAINS=shoplnk.cn,sitelink.cn,wsdns.cn
NUXT_PUBLIC_SUBDOMAIN_PREFIXES=site,shop,store,mp,app,oa
# ---------- 可选覆盖(留空 = 由后台配置决定) ----------
NUXT_PUBLIC_SITE_NAME=
NUXT_PUBLIC_PHONE=
NUXT_PUBLIC_WX_QRCODE=
NUXT_PUBLIC_CONTACT_CAPTCHA=
# 订阅状态缓存秒数(仅服务端可见)
NUXT_SUBSCRIPTION_CACHE_TTL=60