강좌 수정 삭제 작업중1

This commit is contained in:
2025-11-28 20:33:25 +09:00
parent 7db3b7732c
commit 03b4fa108a
7 changed files with 1777 additions and 143 deletions

View File

@@ -390,6 +390,24 @@ class ApiService {
});
}
/**
* 강좌(lecture) 수정
*/
async updateLecture(lectureId: string | number, lectureData: {
subjectId?: number;
title?: string;
objective?: string;
videoUrl?: string;
webglUrl?: string;
csvKey?: string;
csvUrl?: string;
}) {
return this.request(`/lectures/${lectureId}`, {
method: 'PATCH',
body: lectureData,
});
}
/**
* 리소스 조회
*/