feat:添加外链接口对接 完善添加直播

This commit is contained in:
songwc
2022-11-01 12:21:18 +08:00
parent 2c3edeaf24
commit 06633222be
4 changed files with 1167 additions and 912 deletions

View File

@@ -0,0 +1,19 @@
import http from "./config";
//创建外链接口
export const createExternalChain = (obj) => http.post('/link/createLinks', obj)
//外链信息删除接口
export const deleteLink = (obj) => http.post('/link/deleteLink', { params: obj })
//获取外链详细信息接口
export const getLink = (obj) => http.post('/link/getOne', { params: obj })
// 更新外链数据
export const updateLinks = (obj) => http.post('/link/updateLinks', obj)
//修改为必修的接口
export const updateToCompulsory = (obj) => http.post('/link/updateToCompulsory', { params: obj })
//修改为选修的接口
export const updateToElective = (obj) => http.post('/link/updateToElective', { params: obj })