|
|
@ -12,7 +12,7 @@ const schedule = require('node-schedule') |
|
|
|
const moment = require('moment') |
|
|
|
const request = require('superagent') |
|
|
|
let isDev = false |
|
|
|
// isDev = true
|
|
|
|
isDev = true |
|
|
|
const sendType = { |
|
|
|
'mini': 'miniprogram_notice', |
|
|
|
} |
|
|
@ -117,6 +117,7 @@ module.exports = function (app, opts) { |
|
|
|
}) |
|
|
|
//发送企业微信通知
|
|
|
|
if (sendRslt && sendRslt.length) { |
|
|
|
console.log('sendRslt发送通知的数据',sendRslt) |
|
|
|
for (let { dataValues: c } of sendRslt) { |
|
|
|
//根据电话号码查询企业微信对应的userId
|
|
|
|
//phone,兰邦夫的电话号码(2024-1-9)
|
|
|
|