mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
Merge branch 'master' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage
This commit is contained in:
@@ -1,28 +1,12 @@
|
||||
import http from "./config";
|
||||
|
||||
//新建关卡
|
||||
export const editChapter = (obj) => http.post('/admin/router/editChapter', obj, {
|
||||
headers: {
|
||||
'token': '123'
|
||||
}
|
||||
});
|
||||
export const editChapter = (obj) => http.post('/admin/router/editChapter', obj);
|
||||
//编辑关卡
|
||||
export const updateChapter = (obj) => http.post('/admin/router/editChapter', obj, {
|
||||
headers: {
|
||||
'token': '123'
|
||||
}
|
||||
});
|
||||
export const updateChapter = (obj) => http.post('/admin/router/editChapter', obj);
|
||||
|
||||
//删除任务
|
||||
export const deleteTask = (obj) => http.delete('/admin/router/deleteTask',{params: obj}, {
|
||||
headers: {
|
||||
'token': '123'
|
||||
}
|
||||
});
|
||||
export const deleteTask = (obj) => http.delete('/admin/router/deleteTask',{params: obj});
|
||||
|
||||
//移动任务到关卡
|
||||
export const moveTask = (obj) => http.post('/admin/router/moveTask',obj,{
|
||||
headers: {
|
||||
'token': '123'
|
||||
}
|
||||
});
|
||||
export const moveTask = (obj) => http.post('/admin/router/moveTask',obj);
|
||||
|
||||
Reference in New Issue
Block a user