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 @@
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