mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-24 02:29:47 +08:00
课程学习pingAPI请求
This commit is contained in:
@@ -17,6 +17,11 @@ 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`, {});
|
||||
}
|
||||
|
||||
//最近学习课程
|
||||
export function latestLearn() {
|
||||
return client.get(`/api/v1/user/latest-learn`, {});
|
||||
|
||||
Reference in New Issue
Block a user