课程学习记录显示优化

This commit is contained in:
禺狨
2023-03-27 16:02:08 +08:00
parent e9b3144a1e
commit 7cb936837b
5 changed files with 64 additions and 4 deletions

View File

@@ -16,3 +16,8 @@ export function record(courseId: number, hourId: number, duration: number) {
duration,
});
}
//最近学习课程
export function latestLearn() {
return client.get(`/api/v1/user/latest-learn`, {});
}