|
@@ -681,7 +681,7 @@ async function report2FeishuTable() {
|
|
var data = await getStatisticsInfo();
|
|
var data = await getStatisticsInfo();
|
|
logger.info('getStatisticsInfo', data)
|
|
logger.info('getStatisticsInfo', data)
|
|
await exec(data)
|
|
await exec(data)
|
|
- logger.error('数据统计 end',JSON.stringify(data))
|
|
|
|
|
|
+ logger.error('数据统计 end', JSON.stringify(data))
|
|
} catch (error) {
|
|
} catch (error) {
|
|
logger.error('report2FeishuTable', error.toString())
|
|
logger.error('report2FeishuTable', error.toString())
|
|
}
|
|
}
|
|
@@ -697,13 +697,14 @@ timeoutFunc({
|
|
time: reportTime //执行的时间点 时在0~23之间
|
|
time: reportTime //执行的时间点 时在0~23之间
|
|
|
|
|
|
}, func => {
|
|
}, func => {
|
|
- if (process.env.NODE_ENV == 'prd') {
|
|
|
|
- report2FeishuTable()
|
|
|
|
- }
|
|
|
|
|
|
+ // if (process.env.NODE_ENV == 'prd') {
|
|
|
|
+ // report2FeishuTable()
|
|
|
|
+ // }
|
|
})
|
|
})
|
|
// logger.info('getAllBalance ', getAllBalance())
|
|
// logger.info('getAllBalance ', getAllBalance())
|
|
module.exports = {
|
|
module.exports = {
|
|
- getStatisticsInfo
|
|
|
|
|
|
+ getStatisticsInfo,
|
|
|
|
+ report2FeishuTable
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|