2
0

fix: 统一替换系统名

This commit is contained in:
caiyuchao
2025-06-19 09:51:46 +08:00
parent ab2b7ee6f2
commit 1608751e4f
3 changed files with 10 additions and 3 deletions

View File

@@ -137,8 +137,8 @@ case "$1" in
# 统一替换系统名
nginx_html_zh=${docker_work_dir}/nginx/html/dist/u/langs/zh-cn.js
nginx_html_en=${docker_work_dir}/nginx/html/dist/u/langs/en-us.js
sed -i "3s|title: '.*'|title: '${SYSTEM_TITLE}'|" zh-cn.js
sed -i "3s|title: '.*'|title: '${SYSTEM_TITLE}'|" en-us.js
sed -i "3s|title: '.*'|title: '${SYSTEM_TITLE}'|" $nginx_html_zh
sed -i "3s|title: '.*'|title: '${SYSTEM_TITLE}'|" $nginx_html_en
# chown and chmod for all docker work directory
if [ -d ${docker_work_dir}/mysql/data ]; then

View File

@@ -207,7 +207,7 @@
<div class="company-info">
<h1>INVOICE</h1>
<p><strong>From:</strong></p>
<p><strong>Wanfi Technology</strong></p>
<p><strong>MacroHub Technology</strong></p>
<p>ABN: 12 345 678 900</p>
<p>contact@exampel.com</p>
<p>+61 400 000 001</p>

View File

@@ -58,10 +58,17 @@ swagger:
license: Powered By wfc
licenseUrl: https://wfc.vip
# 提醒配置
reminder:
# 是否开启流量提醒
trafficEnable: true
# 流量提醒阈值,单位:百分比, 如剩余小于10%会触发邮件提醒
trafficThreshold: 10
# 是否开启余额提醒
balanceEnable: true
# 余额提醒阈值,单位:跟随系统, 如余额小于5元会触发邮件提醒
balanceThreshold: 5
# 流量提醒邮件标题
trafficTitle: 'Traffic Reminder'
# 余额提醒邮件标题
balanceTitle: 'Balance Reminder'