mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-24 01:39:37 +08:00
课程学习记录显示优化
This commit is contained in:
@@ -19,7 +19,7 @@ export function record(courseId: number, hourId: number, duration: number) {
|
||||
|
||||
//观看ping
|
||||
export function playPing(courseId: number, hourId: number) {
|
||||
return client.get(`/api/v1/course/${courseId}/hour/${hourId}/ping`, {});
|
||||
return client.post(`/api/v1/course/${courseId}/hour/${hourId}/ping`, {});
|
||||
}
|
||||
|
||||
//最近学习课程
|
||||
|
||||
Reference in New Issue
Block a user