Authored by 陈峰

commit

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