diff --git a/src/api/crawl/index.js b/src/api/crawl/index.js index 7814172..b57ce11 100644 --- a/src/api/crawl/index.js +++ b/src/api/crawl/index.js @@ -24,12 +24,12 @@ export const news = (disaster_id, keywords, page, isBaidu, id) => { }, }); }; -export const twitter = (disaster_id, keys,stime,etime) => { +export const twitter = (disaster_id, keywords,stime,etime,id) => { return request({ - url: '/api/' + twitterModule + 'socialmedia/twitter', + url: '/api/' + twitterModule + '/socialmedia/twitter', method: 'post', data: { - disaster_id, keys,stime,etime + disaster_id, keywords,stime,etime,id }, }); };