feat:讨论活动的修改接口对接,添加关卡的编辑

This commit is contained in:
岳佳鑫
2022-11-02 18:00:31 +08:00
parent 2fb92ee77a
commit d986680eae
7 changed files with 247 additions and 184 deletions

View File

@@ -1,8 +1,14 @@
import http from "./config";
//新建或编辑关卡
//新建关卡
export const editChapter = (obj) => http.post('/admin/router/editChapter', obj, {
headers: {
'token': '123'
}
});
//编辑关卡
export const updateChapter = (obj) => http.post('/admin/router/editChapter', obj, {
headers: {
'token': '123'
}
});