@ -16,7 +16,7 @@
"-p 4000",
"-f http://localhost:4000",
"-g postgres://postgres:123@10.8.30.32:5432/video_access",
"--redisHost 10.8.30.34",
"--redisHost 10.8.30.112",
"--redisPort 6379",
"--axyApiUrl http://127.0.0.1:4100",
"--iotAuthApi http://127.0.0.1:4200",
@ -120,7 +120,7 @@ module.exports = function (app, opts) {
// camera: cameraIds,
}
// 离线推送
console.log('离线推送', pushWay, offArr, onArr, receiver,);
console.log('离线推送', c.pushWay, offArr, onArr, receiver,);
if (offArr.length && c.noticeWay && c.noticeWay.includes('offline') && receiver.length) {
if (c.pushWay == 'email') {
// 邮件
@ -7,7 +7,7 @@ module.exports = function (app, opts) {
interval: '0 */4 * * * *',
// interval: '*/3 * * * *',
// immediate: true,
// proRun: true,
proRun: true,
},
async () => {