This commit is contained in:
2026-01-27 10:42:04 -08:00
parent 48c92ea374
commit d1d95618ad
10 changed files with 533 additions and 57 deletions
+19 -42
View File
@@ -7,8 +7,9 @@ const (
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
{{if eq .Type 1}}注册验证码 / Registration Verification Code{{else}}重置密码验证码 / Password
Reset Verification Code{{end}}
{{if eq .Type 1}}注册验证码
{{else if eq .Type 4}}注销账号验证
{{else}}验证码{{end}}
</title>
<style>
body {
@@ -83,27 +84,23 @@ const (
<p class="site-name">{{.SiteName}}</p>
</div>
<div class="content">
<p class="greeting">Hi, 尊敬的用户 / Dear User</p>
<p class="greeting">Hi, 尊敬的用户</p>
<p>
{{if eq .Type 1}} 感谢您注册!您的验证码是(请于<span class="highlight">{{.Expire}}</span
>分钟内使用):
<br />
Thank you for registering! Your verification code is (please use it within
<span class="highlight">{{.Expire}}</span> minutes): {{else}}
您正在重置密码。您的验证码是(请于<span class="highlight">{{.Expire}}</span>分钟内使用):
<br />
You are resetting your password. Your verification code is (please use it within
<span class="highlight">{{.Expire}}</span> minutes): {{end}}
{{else if eq .Type 4}} 您正在申请注销账号。您的验证码是(请于<span class="highlight">{{.Expire}}</span>分钟内使用):
{{else}}
您的验证码是(请于<span class="highlight">{{.Expire}}</span>分钟内使用):
{{end}}
</p>
<div class="code-container">
<span class="code">{{.Code}}</span>
</div>
<p>
如果您未请求此验证码,请忽略此邮件。<br />If you did not request this code, please ignore
this email.
如果您未请求此验证码,请忽略此邮件。
</p>
</div>
<div class="footer">此为系统邮件,请勿回复 / This is a system email, please do not reply</div>
<div class="footer">此为系统邮件,请勿回复</div>
</div>
</body>
</html>
@@ -114,7 +111,7 @@ const (
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>系统维护通知 / System Maintenance Notice</title>
<title>系统维护通知</title>
<style>
body {
color: black;
@@ -174,25 +171,17 @@ const (
<p class="site-name">{{.SiteName}}</p>
</div>
<div class="content">
<p class="greeting">Hi, 尊敬的用户 / Dear User</p>
<p class="greeting">Hi, 尊敬的用户</p>
<p>
我们计划在<span class="highlight">{{.MaintenanceDate}}</span
>进行系统维护,预计维护时间为<span class="highlight">{{.MaintenanceTime}}</span
>。在此期间,您可能会遇到服务中断或无法访问的情况。
<br />
We will be performing system maintenance on
<span class="highlight">{{.MaintenanceDate}}</span>, and the expected maintenance period
is <span class="highlight">{{.MaintenanceTime}}</span>. During this time, you may
experience service interruptions or unavailability.
</p>
<p>
维护完成后,系统将自动恢复。如果您有任何问题,请随时联系我们的支持团队。
<br />
The system will resume automatically once the maintenance is completed. If you have any
questions, please feel free to contact our support team.
</p>
</div>
<div class="footer">此为系统邮件,请勿回复 / This is a system email, please do not reply</div>
<div class="footer">此为系统邮件,请勿回复</div>
</div>
</body>
</html>
@@ -202,7 +191,7 @@ const (
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>服务到期通知 / Service Expiration Notice</title>
<title>服务到期通知</title>
<style>
body {
color: black;
@@ -262,22 +251,16 @@ const (
<p class="site-name">{{.SiteName}}</p>
</div>
<div class="content">
<p class="greeting">Hi, 尊敬的用户 / Dear User</p>
<p class="greeting">Hi, 尊敬的用户</p>
<p>
您的服务即将在<span class="highlight">{{.ExpireDate}}</span
>到期,请及时续费以保证服务不间断。
<br />
Your service is set to expire on <span class="highlight">{{.ExpireDate}}</span>. Please
renew your subscription to avoid service interruptions.
</p>
<p>
如需帮助,请联系客服团队。感谢您的支持!
<br />
If you need assistance, please contact our support team. Thank you for your continued
support!
</p>
</div>
<div class="footer">此为系统邮件,请勿回复 / This is a system email, please do not reply</div>
<div class="footer">此为系统邮件,请勿回复</div>
</div>
</body>
</html>
@@ -287,7 +270,7 @@ const (
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>流量用尽通知 / Traffic Exhausted Notice</title>
<title>流量用尽通知</title>
<style>
.container {
border-radius: 5px;
@@ -342,21 +325,15 @@ const (
<p class="site-name">{{.SiteName}}</p>
</div>
<div class="content">
<p class="greeting">Hi, 尊敬的用户 / Dear User</p>
<p class="greeting">Hi, 尊敬的用户</p>
<p>
您的流量已经用尽,请及时购买流量以继续使用我们的服务。
<br />
Your traffic has been exhausted. Please purchase additional traffic to continue using our
service.
</p>
<p>
如需帮助,请联系客服团队。感谢您的支持!
<br />
If you need assistance, please contact our support team. Thank you for your continued
support!
</p>
</div>
<div class="footer">此为系统邮件,请勿回复 / This is a system email, please do not reply</div>
<div class="footer">此为系统邮件,请勿回复</div>
</div>
</body>
</html>`