You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
359 B

import service from ".";
const liveApi = {
//获取直播列表
getLiveList() {
return service.get('/live');
},
//预约
addReservation(id,userId){
return service.post('/reservation',{id,userId});
},
//取消预约
cancelReservation(id,userId){
return service.delete('/reservation',{id,userId});
}
}