mirror of
https://github.com/PlayEdu/h5.git
synced 2026-01-02 05:21:04 +08:00
课程详情增加课件下载
This commit is contained in:
@@ -31,3 +31,8 @@ export function playPing(courseId: number, hourId: number) {
|
||||
export function latestLearn() {
|
||||
return client.get(`/api/v1/user/latest-learn`, {});
|
||||
}
|
||||
|
||||
//下载课件
|
||||
export function downloadAttachment(courseId: number, id: number) {
|
||||
return client.get(`/api/v1/course/${courseId}/attach/${id}/download`, {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user