|
|
@@ -89,7 +89,7 @@ class CreateOrder extends API {
|
|
|
|
|
|
for (const email of emails) {
|
|
|
if(!email) break
|
|
|
- await EmailTemplate.orderNewReply(email, { id: r.insertId, content, files })
|
|
|
+ await EmailTemplate.orderNewReply(email, { id: r.insertId || id, content, files })
|
|
|
}
|
|
|
} else {
|
|
|
return res.json({ ...BaseStdResponse.ERR, msg: '提交工单失败!数据库错误' })
|