mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-24 02:29:47 +08:00
课程视频播放
This commit is contained in:
@@ -7,7 +7,7 @@ export function detail(id: number) {
|
||||
|
||||
// 获取播放地址
|
||||
export function playUrl(courseId: number, hourId: number) {
|
||||
return client.get(`/api/v1/course/${courseId}/hour/${hourId}`, {});
|
||||
return client.get(`/api/v1/course/${courseId}/hour/${hourId}/play`, {});
|
||||
}
|
||||
|
||||
// 记录学员观看时长
|
||||
|
||||
Reference in New Issue
Block a user