2
0

feat: 补充提醒模板

This commit is contained in:
caiyuchao
2025-06-20 17:36:15 +08:00
parent 80c12efd82
commit e2555d1802
3 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verification Code</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333333;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
padding: 20px 0;
}
.code-box {
background-color: #f8f8f8;
padding: 20px;
text-align: center;
margin: 20px 0;
border-radius: 5px;
}
.verification-code {
font-size: 32px;
font-weight: bold;
letter-spacing: 5px;
color: #2b2b2b;
}
.footer {
font-size: 12px;
color: #666666;
text-align: center;
margin-top: 30px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h2>Balance Reminder</h2>
</div>
<p>Dear User,</p>
<p>Thank you for using our service. We want to inform you that from now on, your balance is less than <span th:text="${currencySymbol}">$</span><span th:text="${threshold}">10</span>.</p>
<div class="code-box">
<div> <strong>Balance:</strong> <span th:text="${currencySymbol}">$</span><span th:text="${balance}">100</span></div>
</div>
<p>To avoid service interruption, please recharge in time.</p>
<p>Best regards,<br>
Your Company Name</p>
<div class="footer">
<p>This is an automated message, please do not reply to this email</p>
<p>&copy; 2024 Your Company Name. All rights reserved.</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verification Code</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333333;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
padding: 20px 0;
}
.code-box {
background-color: #f8f8f8;
padding: 20px;
text-align: center;
margin: 20px 0;
border-radius: 5px;
}
.verification-code {
font-size: 32px;
font-weight: bold;
letter-spacing: 5px;
color: #2b2b2b;
}
.footer {
font-size: 12px;
color: #666666;
text-align: center;
margin-top: 30px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h2>Traffic Reminder</h2>
</div>
<p>Dear User,</p>
<p>Thank you for using our service. We want to inform you that from now on, your package traffic is less than <span th:text="${threshold}">10</span>%.</p>
<div class="code-box">
<div> <strong>Total Traffic:</strong> <span th:text="${totalTraffic}">10 GB</span></div>
<div> <strong>Used Traffic:</strong> <span th:text="${usedTraffic}">1 GB</span></div>
</div>
<p>To avoid service interruption, please purchase the package in time.</p>
<p>Best regards,<br>
Your Company Name</p>
<div class="footer">
<p>This is an automated message, please do not reply to this email</p>
<p>&copy; 2024 Your Company Name. All rights reserved.</p>
</div>
</div>
</body>
</html>

View File

@@ -9,6 +9,10 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# 设置华为云源
RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/repo.huaweicloud.com\/ubuntu\//g' /etc/apt/sources.list && \
sed -i 's#http://security.ubuntu.com/ubuntu#http://repo.huaweicloud.com/ubuntu#' /etc/apt/sources.list20
# 安装OpenJDK 8
RUN apt-get update && \