添加课程模块和章节;

This commit is contained in:
2023-02-01 15:41:39 +08:00
parent 44eb6e111a
commit 34bc6f1af0
13 changed files with 1545 additions and 119 deletions

15
src/api/common.js Normal file
View File

@@ -0,0 +1,15 @@
import service from '@/utils/request'
const headers = {
"Content-Type": "multipart/form-data;binary",
};
const api = {
upload:data=>{//文件上传
return service({
data,
url: '/public/uploadFile',
method: 'POST',
headers
})
}
}
export default api