Commit 4fd1a387 authored by 智勇's avatar 智勇

邮件抄送

parent 3a9c726b
......@@ -73,8 +73,9 @@ const save = async function (ctx) {
data[prop] = data[prop].trim()
}
}
data.database = data.database.split(/ +/).join(' ')
if (data.database) {
data.database = data.database.split(/ +/).join(' ')
}
await ProConfig.saveProject(data)
ctx.body = ctx.ok()
}
......
......@@ -26,7 +26,6 @@ module.exports = async function (recipient, subject, html) {
const info = await transporter.sendMail({
from: config.email.user,
to: recipient,
bcc: 'yong.zhi@quantgroup.cn',
subject,
html,
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment