From 5ade8c91c3a5c9fd81f7e982efd7f6b3f2d08432 Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Wed, 16 Apr 2025 16:15:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/docker/compose/docker-compose.yml | 4 +- build/docker/conf/templates/default/mail.html | 72 +++++++++++++++++++ build/docker/conf/templates/system/mail.html | 72 +++++++++++++++++++ build/docker/conf/templates/user/mail.html | 72 +++++++++++++++++++ 4 files changed, 219 insertions(+), 1 deletion(-) create mode 100644 build/docker/conf/templates/default/mail.html create mode 100644 build/docker/conf/templates/system/mail.html create mode 100644 build/docker/conf/templates/user/mail.html diff --git a/build/docker/compose/docker-compose.yml b/build/docker/compose/docker-compose.yml index 8b7c80d..dd76683 100644 --- a/build/docker/compose/docker-compose.yml +++ b/build/docker/compose/docker-compose.yml @@ -169,7 +169,8 @@ services: - ./wfc/modules/system/jar/wfc-modules-system.jar:/opt/wfc/app.jar - ./conf/application-common.yml:/opt/wfc/conf/application-common.yml - ./conf/i18n/:/opt/wfc/conf/i18n - - ./wfc/modules/system/conf/application.yml:/opt/wfc/conf/application.yml + - ./wfc/modules/system/conf/application.yml:/opt/wfc/conf/application.yml + - ./conf/templates/system:/opt/wfc/templates depends_on: wfc-redis: condition: service_healthy @@ -207,6 +208,7 @@ services: - ./conf/application-common.yml:/opt/wfc/conf/application-common.yml - ./conf/i18n/:/opt/wfc/conf/i18n - ./wfc/modules/user/conf/application.yml:/opt/wfc/conf/application.yml + - ./conf/templates/user:/opt/wfc/templates depends_on: wfc-redis: condition: service_healthy diff --git a/build/docker/conf/templates/default/mail.html b/build/docker/conf/templates/default/mail.html new file mode 100644 index 0000000..b5b684e --- /dev/null +++ b/build/docker/conf/templates/default/mail.html @@ -0,0 +1,72 @@ + + + + + + Verification Code + + + +
+
+

WANFI Verification Code

+
+ +

Dear User,

+ +

Thank you for using our service. Your verification code is:

+ +
+
+
+ +

This code will expire in 10 minutes. Please do not share this code with anyone.

+ +

If you didn't request this code, please ignore this email.

+ +

Best regards,
+ Your Company Name

+ + +
+ + \ No newline at end of file diff --git a/build/docker/conf/templates/system/mail.html b/build/docker/conf/templates/system/mail.html new file mode 100644 index 0000000..b5b684e --- /dev/null +++ b/build/docker/conf/templates/system/mail.html @@ -0,0 +1,72 @@ + + + + + + Verification Code + + + +
+
+

WANFI Verification Code

+
+ +

Dear User,

+ +

Thank you for using our service. Your verification code is:

+ +
+
+
+ +

This code will expire in 10 minutes. Please do not share this code with anyone.

+ +

If you didn't request this code, please ignore this email.

+ +

Best regards,
+ Your Company Name

+ + +
+ + \ No newline at end of file diff --git a/build/docker/conf/templates/user/mail.html b/build/docker/conf/templates/user/mail.html new file mode 100644 index 0000000..b5b684e --- /dev/null +++ b/build/docker/conf/templates/user/mail.html @@ -0,0 +1,72 @@ + + + + + + Verification Code + + + +
+
+

WANFI Verification Code

+
+ +

Dear User,

+ +

Thank you for using our service. Your verification code is:

+ +
+
+
+ +

This code will expire in 10 minutes. Please do not share this code with anyone.

+ +

If you didn't request this code, please ignore this email.

+ +

Best regards,
+ Your Company Name

+ + +
+ + \ No newline at end of file