feat:增加搜索学习路径

This commit is contained in:
李晓鸽
2022-11-01 16:36:17 +08:00
parent df086b071d
commit 0a7ab6718b
4 changed files with 150 additions and 100 deletions

View File

@@ -40,19 +40,11 @@ export const uploadFile = (obj) => http.post('/test/testRequest', qs.stringify({
// 接口-请求
//创建学习路径
export const createLearnPath = (obj) => http.post('/admin/router/edit', obj, {
headers: {
'token': '123'
}
});
export const createLearnPath = (obj) => http.post('/admin/router/edit', obj);
// 获取学习路径图列表
export const getLearnPath = (obj) => http.post('/admin/router/list', obj);
//删除学习路径图
export const deleteLearnPath = (obj) => http.post('/admin/router/handle', obj, {
headers: {
'token': '123'
}
});
export const deleteLearnPath = (obj) => http.post('/admin/router/handle', obj);
//获取关卡
export const getChapter = (obj) => http.post('/admin/router/detail', { params: obj });