From a8d3264c23df611e0dd094e3d2a286eca78a3aa0 Mon Sep 17 00:00:00 2001 From: CODE <1650192445@qq.com> Date: Mon, 14 Aug 2023 10:02:13 +0800 Subject: [PATCH] debug --- api/app/lib/schedule/alarms_push.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/app/lib/schedule/alarms_push.js b/api/app/lib/schedule/alarms_push.js index 553b3b3..58a5983 100644 --- a/api/app/lib/schedule/alarms_push.js +++ b/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,