change content of mail

This commit is contained in:
zhl 2023-04-21 15:53:38 +08:00
parent 6e8f044e96
commit 00ce8374ae
2 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,6 @@ export const ZERO_BYTES32 = '0x0000000000000000000000000000000000000000000000000
export const MAX_BATCH_REQ_COUNT = 50
export const CONFIRM_MAIL_HTML = `
<h1>西<h1>
<p>{{title}}</p>
<p>{{desc}}</p>
<p>, , , , 使MetaMask的浏览器打开</p>

View File

@ -36,6 +36,7 @@ export class MailQueue {
html = html.replace('{{link}}', link)
let link2 = `${process.env.WEB_BASE_URL}/pages/confirm.html?id=${task.id}`
html = html.replace('{{link2}}', link2)
let subject = `${task.starterName} 申请 ${task.name}`
let data: any = { html }
Object(DEFAULT_MSG_DATA).zssign(data)
let deferred = new Deferred()