feat: 补充提醒模板
This commit is contained in:
70
build/docker/conf/templates/user/balanceReminder.html
Normal file
70
build/docker/conf/templates/user/balanceReminder.html
Normal 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>© 2024 Your Company Name. All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
71
build/docker/conf/templates/user/trafficReminder.html
Normal file
71
build/docker/conf/templates/user/trafficReminder.html
Normal 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>© 2024 Your Company Name. All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -10,6 +10,10 @@ 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 && \
|
||||
apt-get install -y openjdk-8-jre && \
|
||||
|
||||
Reference in New Issue
Block a user