调整接口

This commit is contained in:
fan 2020-05-18 09:11:28 +08:00
parent ce8ded0bfb
commit 08f5edbb53

View File

@ -83,7 +83,8 @@ export function getLessonByClassId(classId) {
/** 强制删除课程(即删除课程和课程关联的试卷) */
export function forceDeleteLesson(lessonId) {
return request({
url: `/api/lesson/usedLesson/${lessonId}`
url: `/api/lesson/usedLesson/${lessonId}`,
method: 'delete'
});
}