Authored by 陈峰

commit

@@ -19,5 +19,4 @@ schedule.scheduleJob('0 10 * * * *', () => { @@ -19,5 +19,4 @@ schedule.scheduleJob('0 10 * * * *', () => {
19 logger.info('task start calvAvgTask'); 19 logger.info('task start calvAvgTask');
20 calvAvgTask(); 20 calvAvgTask();
21 }); 21 });
22 -spiderTask(dayjs().unix());  
23 calvAvgTask(); 22 calvAvgTask();
@@ -4,6 +4,7 @@ const {logger} = require('../libs/logger'); @@ -4,6 +4,7 @@ const {logger} = require('../libs/logger');
4 const {mysqlPool} = require('../libs/mysql'); 4 const {mysqlPool} = require('../libs/mysql');
5 5
6 module.exports = async() => { 6 module.exports = async() => {
  7 + mysqlPool.delete('update `channel_sku_compare` set `channel_average_price` = 0');
7 const beginTime = dayjs().subtract(24, 'hour').unix(); 8 const beginTime = dayjs().subtract(24, 'hour').unix();
8 const endTime = dayjs().unix(); 9 const endTime = dayjs().unix();
9 10