Merge branch 'main' of http://47.92.168.204:3000/VoRDM/vordm-admin
This commit is contained in:
commit
49e8684b92
|
@ -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
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
|
@ -313,7 +313,7 @@ const start = (text) => {
|
|||
getData();
|
||||
})
|
||||
}else if(text == 'twitter'){
|
||||
twitter(ret[0].disasterId,keywords,state.twitter.date[0],state.twitter.date[1]).then(res=>{
|
||||
twitter(ret[0].disasterId,keywords,state.twitter.date[0],state.twitter.date[1],ret[0].id).then(res=>{
|
||||
ElMessage.success("Data is being acquired!")
|
||||
getData();
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue