调整接口
This commit is contained in:
parent
ce8ded0bfb
commit
08f5edbb53
@ -83,7 +83,8 @@ export function getLessonByClassId(classId) {
|
|||||||
/** 强制删除课程(即删除课程和课程关联的试卷) */
|
/** 强制删除课程(即删除课程和课程关联的试卷) */
|
||||||
export function forceDeleteLesson(lessonId) {
|
export function forceDeleteLesson(lessonId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/lesson/usedLesson/${lessonId}`
|
url: `/api/lesson/usedLesson/${lessonId}`,
|
||||||
|
method: 'delete'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user