강좌 수정 삭제 작업중1
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 리소스 조회
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user