mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:添加外链接口对接 完善添加直播
This commit is contained in:
19
src/api/indexExternalChain.js
Normal file
19
src/api/indexExternalChain.js
Normal 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 })
|
||||
Reference in New Issue
Block a user