|
@@ -9,13 +9,13 @@ class emailTemplate {
|
|
|
|
|
|
|
|
async checkEmail(email, code) {
|
|
async checkEmail(email, code) {
|
|
|
const time = new Date().getTime()
|
|
const time = new Date().getTime()
|
|
|
- await sendEmail(email, 'RunForge - 邮箱验证码',
|
|
|
|
|
|
|
+ await sendEmail(email, '哪吒乐跑 - 邮箱验证码',
|
|
|
`<html lang="zh-CN">
|
|
`<html lang="zh-CN">
|
|
|
|
|
|
|
|
<head>
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <title>RunForge - 邮箱验证码</title>
|
|
|
|
|
|
|
+ <title>哪吒乐跑 - 邮箱验证码</title>
|
|
|
<style>
|
|
<style>
|
|
|
body {
|
|
body {
|
|
|
font-family: Arial, sans-serif;
|
|
font-family: Arial, sans-serif;
|
|
@@ -72,7 +72,7 @@ class emailTemplate {
|
|
|
<body>
|
|
<body>
|
|
|
<div class="container">
|
|
<div class="container">
|
|
|
<div class="head">
|
|
<div class="head">
|
|
|
- <h2>RunForge - 邮箱验证码</h2>
|
|
|
|
|
|
|
+ <h2>哪吒乐跑 - 邮箱验证码</h2>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<p>尊敬的用户:</p>
|
|
<p>尊敬的用户:</p>
|
|
@@ -82,7 +82,7 @@ class emailTemplate {
|
|
|
${code}
|
|
${code}
|
|
|
</div>
|
|
</div>
|
|
|
<p class="important">验证码5分钟内有效,超时请重新获取</p>
|
|
<p class="important">验证码5分钟内有效,超时请重新获取</p>
|
|
|
- <p class="footer">Copyright © 2025 RunForge</p>
|
|
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
@@ -92,13 +92,13 @@ class emailTemplate {
|
|
|
|
|
|
|
|
async registerSuccess(email, username) {
|
|
async registerSuccess(email, username) {
|
|
|
const time = new Date().getTime()
|
|
const time = new Date().getTime()
|
|
|
- await sendEmail(email, '您已成功注册RunForge账号',
|
|
|
|
|
|
|
+ await sendEmail(email, '您已成功注册哪吒乐跑账号',
|
|
|
`<html lang="zh-CN">
|
|
`<html lang="zh-CN">
|
|
|
|
|
|
|
|
<head>
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <title>RunForge - 注册成功提醒</title>
|
|
|
|
|
|
|
+ <title>哪吒乐跑 - 注册成功提醒</title>
|
|
|
<style>
|
|
<style>
|
|
|
body {
|
|
body {
|
|
|
font-family: Arial, sans-serif;
|
|
font-family: Arial, sans-serif;
|
|
@@ -159,17 +159,17 @@ class emailTemplate {
|
|
|
<body>
|
|
<body>
|
|
|
<div class="container">
|
|
<div class="container">
|
|
|
<div class="head">
|
|
<div class="head">
|
|
|
- <h2>RunForge - 注册成功提醒</h2>
|
|
|
|
|
|
|
+ <h2>哪吒乐跑 - 注册成功提醒</h2>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<p>尊敬的 ${username}:</p>
|
|
<p>尊敬的 ${username}:</p>
|
|
|
- <p>您已成功注册RunForge账号:</p>
|
|
|
|
|
|
|
+ <p>您已成功注册哪吒乐跑账号:</p>
|
|
|
<div class="info">
|
|
<div class="info">
|
|
|
<p><strong>用户名:</strong> ${username}</p>
|
|
<p><strong>用户名:</strong> ${username}</p>
|
|
|
<p><strong>注册时间:</strong> ${this.stramptoTime(time)}</p>
|
|
<p><strong>注册时间:</strong> ${this.stramptoTime(time)}</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <p class="footer">Copyright © 2025 RunForge</p>
|
|
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
@@ -259,13 +259,13 @@ class emailTemplate {
|
|
|
|
|
|
|
|
<p class="important">
|
|
<p class="important">
|
|
|
${data.auto_run === 0
|
|
${data.auto_run === 0
|
|
|
- ? '现在还没有帮宝宝开启自动乐跑呢 🐾💦 如果想要开始跑跑的话,记得登录后去RunForge手动点一下哦~ 🌈💕'
|
|
|
|
|
|
|
+ ? '现在还没有帮宝宝开启自动乐跑呢 🐾💦 如果想要开始跑跑的话,记得登录后去哪吒乐跑手动点一下哦~ 🌈💕'
|
|
|
: '已经为宝宝开启了自动乐跑啦 🏃♀️✨ 登录后系统会乖乖替你完成乐跑 💖 记得留意邮箱提醒哟~ 📬'}
|
|
: '已经为宝宝开启了自动乐跑啦 🏃♀️✨ 登录后系统会乖乖替你完成乐跑 💖 记得留意邮箱提醒哟~ 📬'}
|
|
|
</p>
|
|
</p>
|
|
|
<p class="important">宝宝要记得不要在其他设备上登录“智慧体育”小程序哦 🚫📱,不然会失效,到时候又要重新登录啦 😢💦~</p>
|
|
<p class="important">宝宝要记得不要在其他设备上登录“智慧体育”小程序哦 🚫📱,不然会失效,到时候又要重新登录啦 😢💦~</p>
|
|
|
- <p class="important">有问题随时喊RunForge客服小可爱呀 💕💌 我们都会耐心陪宝宝解决的哟 ✨🥰</p>
|
|
|
|
|
|
|
+ <p class="important">有问题随时喊哪吒乐跑客服小可爱呀 💕💌 我们都会耐心陪宝宝解决的哟 ✨🥰</p>
|
|
|
|
|
|
|
|
- <p class="footer">Copyright © 2025 RunForge 🌟</p>
|
|
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑 🌟</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
@@ -279,7 +279,7 @@ class emailTemplate {
|
|
|
<html lang="zh-CN">
|
|
<html lang="zh-CN">
|
|
|
<head>
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
|
- <title>🎉 RunForge - 乐跑完成祝贺</title>
|
|
|
|
|
|
|
+ <title>🎉 哪吒乐跑 - 乐跑完成祝贺</title>
|
|
|
<style>
|
|
<style>
|
|
|
body {
|
|
body {
|
|
|
background-color: #fffaf4;
|
|
background-color: #fffaf4;
|
|
@@ -369,10 +369,10 @@ class emailTemplate {
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<p>
|
|
|
- 🧡我们已经为您关闭了自动乐跑功能,如您需要继续乐跑,还可前往RunForge自行开启哦!
|
|
|
|
|
|
|
+ 🧡我们已经为您关闭了自动乐跑功能,如您需要继续乐跑,还可前往哪吒乐跑自行开启哦!
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
- <p class="footer">Copyright © 2025 RunForge</p>
|
|
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
</html>
|
|
</html>
|
|
@@ -465,8 +465,8 @@ class emailTemplate {
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<p class="important">如果宝宝开启了自动乐跑,要记得不要在其他设备上登录“智慧体育”小程序哦 🚫📱,不然登录就会失效,要重新来一次啦~</p>
|
|
<p class="important">如果宝宝开启了自动乐跑,要记得不要在其他设备上登录“智慧体育”小程序哦 🚫📱,不然登录就会失效,要重新来一次啦~</p>
|
|
|
- <p class="important">有问题随时找RunForge客服小可爱呀 💌 我们会陪你耐心解决的~</p>
|
|
|
|
|
- <p class="footer">Copyright © 2025 RunForge ✨</p>
|
|
|
|
|
|
|
+ <p class="important">有问题随时找哪吒乐跑客服小可爱呀 💌 我们会陪你耐心解决的~</p>
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑 ✨</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
@@ -555,10 +555,10 @@ class emailTemplate {
|
|
|
<p><strong>失败原因:</strong> ${data.reason} 😭</p>
|
|
<p><strong>失败原因:</strong> ${data.reason} 😭</p>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <p class="important">宝宝如果是登录失效的话 🥺✨,要记得重新启动RunForge乐跑登录器,再登录“智慧体育”小程序就可以啦 💕</p>
|
|
|
|
|
- <p class="important">如果还是不懂,随时可以来找RunForge客服小可爱哟 💌 我们会耐心陪宝宝解决问题的 🌈🥰</p>
|
|
|
|
|
|
|
+ <p class="important">宝宝如果是登录失效的话 🥺✨,要记得重新启动哪吒乐跑乐跑登录器,再登录“智慧体育”小程序就可以啦 💕</p>
|
|
|
|
|
+ <p class="important">如果还是不懂,随时可以来找哪吒乐跑客服小可爱哟 💌 我们会耐心陪宝宝解决问题的 🌈🥰</p>
|
|
|
|
|
|
|
|
- <p class="footer">Copyright © 2025 RunForge 💖</p>
|
|
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑 💖</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
@@ -567,7 +567,7 @@ class emailTemplate {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async orderNewReply(email, data) {
|
|
async orderNewReply(email, data) {
|
|
|
- await sendEmail(email, 'RunForge - 工单状态更新提醒',
|
|
|
|
|
|
|
+ await sendEmail(email, '哪吒乐跑 - 工单状态更新提醒',
|
|
|
`<html lang="zh-CN">
|
|
`<html lang="zh-CN">
|
|
|
<head>
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
@@ -642,9 +642,9 @@ class emailTemplate {
|
|
|
<p><strong>回复内容:</strong> ${data.content}</p>
|
|
<p><strong>回复内容:</strong> ${data.content}</p>
|
|
|
<p><strong>回复时间:</strong> ${this.stramptoTime(new Date().getTime())}</p>
|
|
<p><strong>回复时间:</strong> ${this.stramptoTime(new Date().getTime())}</p>
|
|
|
</div>
|
|
</div>
|
|
|
- <p class="important">${data.files.length > 0 ? '当前回复内含有附件,前往RunForge官网内查看' : ''}</p>
|
|
|
|
|
- <p class="important">请前往RunForge官网回复工单,请勿直接回复邮件。</p>
|
|
|
|
|
- <p class="footer">Copyright © 2025 RunForge</p>
|
|
|
|
|
|
|
+ <p class="important">${data.files.length > 0 ? '当前回复内含有附件,前往哪吒乐跑官网内查看' : ''}</p>
|
|
|
|
|
+ <p class="important">请前往哪吒乐跑官网回复工单,请勿直接回复邮件。</p>
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
@@ -735,7 +735,7 @@ class emailTemplate {
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<p class="important">当前电费已低于预设提醒阈值${Number(data.lowest - data.now_balance).toFixed(2)}元,请及时充值</p>
|
|
<p class="important">当前电费已低于预设提醒阈值${Number(data.lowest - data.now_balance).toFixed(2)}元,请及时充值</p>
|
|
|
- <p class="footer">Copyright © 2025 RunForge ✨</p>
|
|
|
|
|
|
|
+ <p class="footer">Copyright © 2025 哪吒乐跑 ✨</p>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|