1 Star 0 Fork 293

stoneeold/shopTNT电商系统-前端(PC端 商家PC端 管理端)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
set-envs.sh 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
tnt 提交于 2023-06-20 09:13 . 初始化
echo "window.__ENV__ = {\
API_MODEL: '${API_MODEL}',\
API_BASE: '${API_BASE}',\
API_BUYER: '${API_BUYER}',\
API_SELLER: '${API_SELLER}',\
API_ADMIN: '${API_ADMIN}',\
DOMAIN_BUYER_PC: '${DOMAIN_BUYER_PC}',\
DOMAIN_BUYER_WAP: '${DOMAIN_BUYER_WAP}',\
DOMAIN_SELLER: '${DOMAIN_SELLER}',\
DOMAIN_ADMIN: '${DOMAIN_ADMIN}',\
DOMAIN_DECOR: '${DOMAIN_DECOR}'\
}" > /app/buyer/static/js/envs.js
echo "window.__ENV__ = {\
API_MODEL: '${API_MODEL}',\
API_BASE: '${API_BASE}',\
API_BUYER: '${API_BUYER}',\
API_SELLER: '${API_SELLER}',\
API_ADMIN: '${API_ADMIN}',\
DOMAIN_BUYER_PC: '${DOMAIN_BUYER_PC}',\
DOMAIN_BUYER_WAP: '${DOMAIN_BUYER_WAP}',\
DOMAIN_SELLER: '${DOMAIN_SELLER}',\
DOMAIN_ADMIN: '${DOMAIN_ADMIN}',\
DOMAIN_DECOR: '${DOMAIN_DECOR}'\
}" > /app/seller/static/js/envs.js
echo "window.__ENV__ = {\
API_MODEL: '${API_MODEL}',\
API_BASE: '${API_BASE}',\
API_BUYER: '${API_BUYER}',\
API_SELLER: '${API_SELLER}',\
API_ADMIN: '${API_ADMIN}',\
DOMAIN_BUYER_PC: '${DOMAIN_BUYER_PC}',\
DOMAIN_BUYER_WAP: '${DOMAIN_BUYER_WAP}',\
DOMAIN_SELLER: '${DOMAIN_SELLER}',\
DOMAIN_ADMIN: '${DOMAIN_ADMIN}',\
DOMAIN_DECOR: '${DOMAIN_DECOR}'\
}" > /app/admin/static/js/envs.js
echo "window.__ENV__ = {\
API_MODEL: '${API_MODEL}',\
API_BASE: '${API_BASE}',\
API_BUYER: '${API_BUYER}',\
API_SELLER: '${API_SELLER}',\
API_ADMIN: '${API_ADMIN}',\
DOMAIN_BUYER_PC: '${DOMAIN_BUYER_PC}',\
DOMAIN_BUYER_WAP: '${DOMAIN_BUYER_WAP}',\
DOMAIN_SELLER: '${DOMAIN_SELLER}',\
DOMAIN_ADMIN: '${DOMAIN_ADMIN}',\
DOMAIN_DECOR: '${DOMAIN_DECOR}'\
}" > /app/decor/js/envs.js
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/stoneeold/pc-ui.git
git@gitee.com:stoneeold/pc-ui.git
stoneeold
pc-ui
shopTNT电商系统-前端(PC端 商家PC端 管理端)
5.2.3

搜索帮助