Showing
2 changed files
with
6 additions
and
6 deletions
@@ -40,15 +40,15 @@ const start = () => { | @@ -40,15 +40,15 @@ const start = () => { | ||
40 | // 推送最新的商品详情和逛文章 | 40 | // 推送最新的商品详情和逛文章 |
41 | sendUrls(); | 41 | sendUrls(); |
42 | 42 | ||
43 | - //// 同步关键词 | ||
44 | - //synchronousKeywords(); | 43 | + // // 同步关键词 |
44 | + // synchronousKeywords(); | ||
45 | }); | 45 | }); |
46 | 46 | ||
47 | - //schedule.scheduleJob('0 0 2 * * *', function() { | 47 | + // schedule.scheduleJob('0 0 2 * * *', function() { |
48 | // | 48 | // |
49 | // // 推送关键词页面 | 49 | // // 推送关键词页面 |
50 | // sendKeywordsUrls(); | 50 | // sendKeywordsUrls(); |
51 | - //}); | 51 | + // }); |
52 | }; | 52 | }; |
53 | 53 | ||
54 | module.exports = { | 54 | module.exports = { |
@@ -242,8 +242,8 @@ const sendKeywordsUrls = () => { | @@ -242,8 +242,8 @@ const sendKeywordsUrls = () => { | ||
242 | console.log(urls); | 242 | console.log(urls); |
243 | 243 | ||
244 | // 发送到百度 | 244 | // 发送到百度 |
245 | - //sendUrlsToBaidu({site: 'https://www.yohobuy.com'}, urls.pc); | ||
246 | - //sendUrlsToBaidu({site: 'https://m.yohobuy.com'}, urls.wap); | 245 | + // sendUrlsToBaidu({site: 'https://www.yohobuy.com'}, urls.pc); |
246 | + // sendUrlsToBaidu({site: 'https://m.yohobuy.com'}, urls.wap); | ||
247 | }).catch(() => { | 247 | }).catch(() => { |
248 | clearInterval(interval); | 248 | clearInterval(interval); |
249 | }); | 249 | }); |
-
Please register or login to post a comment