更新爬虫URL 更新爬虫参数列表

This commit is contained in:
yyhouc 2023-05-23 10:10:10 +08:00
parent 76d3f26717
commit 740bead9e4
1 changed files with 3 additions and 3 deletions

View File

@ -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
},
});
};