feat: 邮件自定义文档补充
This commit is contained in:
@@ -6,8 +6,6 @@ fe_dist_dir=${wfc_root_dir}/opt/wfc/docker/nginx/html/dist
|
|||||||
wfc_bin_dir=${wfc_root_dir}/bin
|
wfc_bin_dir=${wfc_root_dir}/bin
|
||||||
|
|
||||||
chmod +rx ${wfc_root_dir}/bin/*
|
chmod +rx ${wfc_root_dir}/bin/*
|
||||||
chmod +rx ${wfc_root_dir}/docker/license-server/generatelic.sh
|
|
||||||
chmod +rx ${wfc_root_dir}/docker/license-server/licensecontrol.sh
|
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable wfccontrol.service
|
systemctl enable wfccontrol.service
|
||||||
|
|||||||
@@ -308,6 +308,13 @@ docker-compose >= v2.10.0
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
* 邮件内容自定义
|
||||||
|
|
||||||
|
客户平台邮件模板位于/opt/wfc/docker/conf/templates/system/mail.html
|
||||||
|
客户平台邮件模板位于/opt/wfc/docker/conf/templates/user/mail.html
|
||||||
|
修改邮件模板即可,修改后直接生效,模板采用Thymeleaf引擎,支持html语法,可自定义文本内容和样式。
|
||||||
|
除了验证码占位符<span th:text="${verificationCode}"></span>和失效时间占位符<span th:text="${expirationTime}">10</span>,其余内容均可自定义修改
|
||||||
|
|
||||||
* 启动/查看/停止/版本软件
|
* 启动/查看/停止/版本软件
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user