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

@@ -10,4 +10,4 @@ export const getDiscussDetail = (obj) => http.post('/discuss/getDiscussDetail',
export const deleteDiscuss = (obj) => http.post('/discuss/deleteDiscuss', { params: obj });
//修改讨论接口
export const updateDiscuss = (obj) => http.post('/discuss/updateDiscuss', { params: obj });
export const updateDiscuss = (obj) => http.post('/discuss/updateDiscuss', obj );

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'
}
});