diff --git a/src/api/indexLiveBroadcast.js b/src/api/indexLiveBroadcast.js new file mode 100644 index 00000000..ef05e98e --- /dev/null +++ b/src/api/indexLiveBroadcast.js @@ -0,0 +1,13 @@ +import http from "./config"; + +//根据直播Id获取直播信息 query参数 +export const getLiveBroadcastInfor = (obj) => http.get('/liveBroadcast', { params: obj }) + +//创建直播接口 +export const createLiveBroadcast = (obj) => http.post('/liveBroadcast/createLiveBroadcast', obj) + +//直播信息删除接口 +export const deleteLiveBroadcast = (obj) => http.post('/liveBroadcast/deleteLiveBroadcast', obj) + +//直播信息修改接口 +export const updateLiveBroadcastMessage = (obj) => http.post('/liveBroadcast/updateLiveBroadcastMessage', obj) \ No newline at end of file diff --git a/src/components/drawers/AddLive.vue b/src/components/drawers/AddLive.vue index bd7b3dab..36f64096 100644 --- a/src/components/drawers/AddLive.vue +++ b/src/components/drawers/AddLive.vue @@ -1,3 +1,4 @@ +