Browse Source

统一管乐团与管乐迷 播放type字段

黄琪勇 1 year ago
parent
commit
3f88898b53

File diff suppressed because it is too large
+ 0 - 0
dist/js/src_views_cloudTextbooks_index_ts.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/src_views_coursewarePlay_index_tsx.js


+ 1 - 1
src/api/cloudTextbooks.api.ts

@@ -63,7 +63,7 @@ export const getMyCoursewareDetail_gyt = (id: string) => {
 
 // 课程详情 播放用
 export const getLessonCoursewareDetail_gyt = (id: string) => {
-   return httpAxios_gym.axioseRquest({
+   return httpAxios_gyt.axioseRquest({
       method: "get",
       url: "/api-teacher/lessonCoursewareDetail/detail/" + id
    })

+ 4 - 2
src/views/coursewarePlay/index.tsx

@@ -286,7 +286,8 @@ export default defineComponent({
                            ...item,
                            knowledgePointId: [item.knowledgePointId],
                            materialId: item.id,
-                           id: index + ""
+                           id: index + "",
+                           typeCode: item.type || item.typeCode // GYM和GYT type字段不一样 这里统一
                         }
                      })
                   }
@@ -298,7 +299,8 @@ export default defineComponent({
                               ...item,
                               knowledgePointId: [n.id, item.knowledgePointId],
                               materialId: item.id,
-                              id: index + ""
+                              id: index + "",
+                              typeCode: item.type || item.typeCode // GYM和GYT type字段不一样 这里统一
                            }
                         })
                         return cn

Some files were not shown because too many files changed in this diff