You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
341 B
14 lines
341 B
import {request} from "@/api/request";
|
|
|
|
interface HourHistorys {
|
|
course: Curriculum
|
|
data: Record<number, HourHistory[]>
|
|
hour: Hour
|
|
}
|
|
|
|
export const courseApi = {
|
|
/** 课时学习记录 */
|
|
hourHistory(courseId: string, hourId: string) {
|
|
return request<HourHistorys>(`/api/v1/course/${courseId}/hour/${hourId}/info`, "GET")
|
|
}
|
|
}
|
|
|