CODE 1 year ago
parent
commit
a8d3264c23
  1. 8
      api/app/lib/schedule/alarms_push.js

8
api/app/lib/schedule/alarms_push.js

@ -1516,6 +1516,10 @@ module.exports = function (app, opts) {
})
}
if (proDebug) {
console.log('ifEmailSend:', ifEmailSend);
}
if (ifEmailSend) {
// 查接收人的信息
const receiverRes =
@ -1538,7 +1542,9 @@ module.exports = function (app, opts) {
// emails = ['1650192445@qq.com']
emails = ['wen.lele@free-sun.com.cn']
}
if (proDebug) {
console.log('emails', emails);
}
if (emails.length) {
await pushByEmail({
email: emails,

Loading…
Cancel
Save