|
@@ -340,6 +340,8 @@ class emailTemplate {
|
|
|
<div class="info">
|
|
<div class="info">
|
|
|
<p><strong>学号:</strong> ${data.account}</p>
|
|
<p><strong>学号:</strong> ${data.account}</p>
|
|
|
<p><strong>跑区:</strong> ${data.pass_tit}</p>
|
|
<p><strong>跑区:</strong> ${data.pass_tit}</p>
|
|
|
|
|
+ <p><strong>跑步时间:</strong> ${this.formatSecondsToMinSec(data.time)}</p>
|
|
|
|
|
+ <p><strong>平均配速:</strong> ${this.calculatePace(data.time, data.distance)}</p>
|
|
|
<p><strong>跑步距离:</strong> ${data.distance} Km</p>
|
|
<p><strong>跑步距离:</strong> ${data.distance} Km</p>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -354,10 +356,6 @@ class emailTemplate {
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // <p><strong>跑步时长:</strong> ${this.formatSecondsToMinSec(data.time)} Km</p>
|
|
|
|
|
- // <p><strong>平均配速:</strong> ${this.calculatePace(data.time, data.distance)}</p>
|
|
|
|
|
- // <p><strong>乐跑时间:</strong> ${this.stramptoTime(time)}</p>
|
|
|
|
|
-
|
|
|
|
|
async lepaoFail(email, data) {
|
|
async lepaoFail(email, data) {
|
|
|
const time = new Date().getTime()
|
|
const time = new Date().getTime()
|
|
|
await sendEmail(email, 'RunForge - 乐跑失败提醒',
|
|
await sendEmail(email, 'RunForge - 乐跑失败提醒',
|