From 1608751e4fde2331ff95d37bf7474d7260d7aa2a Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Thu, 19 Jun 2025 09:51:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/bin/wfcsetup.sh | 4 ++-- build/docker/conf/templates/user/invoice.html | 2 +- build/docker/wfc/modules/user/conf/default/application.yml | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/build/bin/wfcsetup.sh b/build/bin/wfcsetup.sh index 3228a07..eebb7b7 100755 --- a/build/bin/wfcsetup.sh +++ b/build/bin/wfcsetup.sh @@ -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 diff --git a/build/docker/conf/templates/user/invoice.html b/build/docker/conf/templates/user/invoice.html index a64a173..22b313b 100644 --- a/build/docker/conf/templates/user/invoice.html +++ b/build/docker/conf/templates/user/invoice.html @@ -207,7 +207,7 @@

INVOICE

From:

-

Wanfi Technology

+

MacroHub Technology

ABN: 12 345 678 900

contact@exampel.com

+61 400 000 001

diff --git a/build/docker/wfc/modules/user/conf/default/application.yml b/build/docker/wfc/modules/user/conf/default/application.yml index 8328f24..4a15cab 100644 --- a/build/docker/wfc/modules/user/conf/default/application.yml +++ b/build/docker/wfc/modules/user/conf/default/application.yml @@ -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' \ No newline at end of file