黄琪勇 1 year ago
parent
commit
909da35ee7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/api/coursewarePlay.api.ts

+ 4 - 1
src/api/coursewarePlay.api.ts

@@ -8,7 +8,10 @@ import { httpAxios_gyt } from "@/api/ApiInstance"
 export const getCoursewarePlayTime_gyt = (id: string) => {
    return httpAxios_gyt.axioseRquest({
       method: "post",
-      url: "/api-teacher/courseSchedule/getCoursewarePlayTime?courseScheduleId=" + id
+      url: "/api-teacher/courseSchedule/getCoursewarePlayTime?courseScheduleId=" + id,
+      params: {
+         playFrom: "WEB"
+      }
    })
 }
 // 记录时间