|
|
@@ -88,7 +88,7 @@ class CreateOrder extends API {
|
|
|
let emails = [...new Set(kefuRows.map(row => row.email))]
|
|
|
|
|
|
for (const email of emails) {
|
|
|
- await EmailTemplate.orderNewReply(email, { id, content, files })
|
|
|
+ await EmailTemplate.orderNewReply(email, { id: r.insertId, content, files })
|
|
|
}
|
|
|
} else {
|
|
|
return res.json({ ...BaseStdResponse.ERR, msg: '提交工单失败!数据库错误' })
|