Commit 97a90acd authored by Liu Peng's avatar Liu Peng

完成课程修改

parent dac432f4
......@@ -32,6 +32,14 @@ export const fetchAliyunAuth = () => {
return request("get", "/api/aliyun/mgr/videoConfig", {});
};
export const deleteChaper = (chaperId) => {
return request("get", `/api/mgr/course/delChaper/${chaperId}`, {});
};
export const updateChaperTitle = (data) => {
return request("post", `/api/mgr/course/modifyChaperName`, data);
};
export const fetchAliyunPolicy = (data) => {
return request(
"get",
......@@ -55,4 +63,3 @@ export const fetchVideoInfo = (videoId) => {
export const saveCourse = (obj) => {
return request("post", "/api/mgr/course/save", obj);
};
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment