Browse Source

酷乐秀 地址修改

黄琪勇 3 months ago
parent
commit
60ed7b0e2e

+ 1 - 1
.env.devProd

@@ -16,4 +16,4 @@ VUE_APP_TEACH_GYT = "https://test.lexiaoya.cn/orchestra-music-score/"
 VUE_APP_TEACH_GYM ="https://test.gym.lexiaoya.cn/gym-music-score/"
 
 #酷乐秀 云教练
-VUE_APP_TEACH_KLX ="https://test.colexiu.com/accompany/"
+VUE_APP_TEACH_KLX ="https://test.colexiu.com/klx-music-score/"

+ 1 - 1
.env.development

@@ -15,4 +15,4 @@ VUE_APP_TEACH_GYT = "https://test.lexiaoya.cn/orchestra-music-score/"
 VUE_APP_TEACH_GYM ="https://test.gym.lexiaoya.cn/gym-music-score/"
 
 #酷乐秀 云教练
-VUE_APP_TEACH_KLX ="https://test.colexiu.com/accompany/"
+VUE_APP_TEACH_KLX ="https://test.colexiu.com/klx-music-score/"

+ 1 - 1
.env.production

@@ -15,4 +15,4 @@ VUE_APP_TEACH_GYT = "https://online.lexiaoya.cn/orchestra-music-score/"
 VUE_APP_TEACH_GYM ="https://gym.lexiaoya.cn/gym-music-score/"
 
 #酷乐秀 云教练
-VUE_APP_TEACH_KLX ="https://online.colexiu.com/accompany/"
+VUE_APP_TEACH_KLX ="https://online.colexiu.com/klx-music-score/"

+ 1 - 1
.env.staging

@@ -16,4 +16,4 @@ VUE_APP_TEACH_GYT = "https://test.lexiaoya.cn/orchestra-music-score/"
 VUE_APP_TEACH_GYM ="https://test.gym.lexiaoya.cn/gym-music-score/"
 
 #酷乐秀 云教练
-VUE_APP_TEACH_KLX ="https://test.colexiu.com/accompany/"
+VUE_APP_TEACH_KLX ="https://test.colexiu.com/klx-music-score/"

+ 2 - 2
src/views/cloudPractice/useData.ts

@@ -26,7 +26,7 @@ export const useFunction = () => {
       const urlObj = {
          GYT: `${URL_TEACH_GYT}?id=${musicId}&modelType=practice&modeType=json&part-index=${partIndex}&Authorization=${getToken()}&isYjt=1&&isHideBack=false`,
          GYM: `${URL_TEACH_GYM}#/?id=${musicId}&Authorization=${getToken()}&platform=pc&part-index=${partIndex}&isYjt=1&isHideMusicList=true&systemType=teacher`,
-         KLX: `${URL_TEACH_KLX}?Authorization=${getToken()}&id=${musicId}&limitModel=practice&part-index=${partIndex}&isYjt=1&client=teacher`
+         KLX: `${URL_TEACH_KLX}#/?id=${musicId}&Authorization=${getToken()}&platform=pc&part-index=${partIndex}&isYjt=1&isHideMusicList=true&systemType=teacher`
       }
       isPracticeShow.value = true
       practiceUrl.value = urlObj[userStoreHook.roles!]
@@ -42,7 +42,7 @@ export const useFunction = () => {
       const urlObj = {
          GYT: `${URL_TEACH_GYT}?id=${musicId}&modelType=practice&modeType=json&part-index=${partIndex}&Authorization=${getToken()}&isYjt=1&&isHideBack=false`,
          GYM: `${URL_TEACH_GYM}?t=${Date.now()}#/?id=${musicId}&Authorization=${getToken()}&part-index=${partIndex}&isPreView=true&systemType=teacher`,
-         KLX: `${URL_TEACH_KLX}?Authorization=${getToken()}&id=${musicId}&limitModel=practice&part-index=${partIndex}&isYjt=1&client=teacher`
+         KLX: `${URL_TEACH_KLX}?t=${Date.now()}#/?id=${musicId}&Authorization=${getToken()}&part-index=${partIndex}&isPreView=true&systemType=teacher`
       }
       return urlObj[userStoreHook.roles!]
    }

+ 3 - 3
src/views/coursewarePlay/coursewarePlay.vue

@@ -179,9 +179,9 @@ const songPlaySrc = computed<string>(() => {
       GYM: `${URL_TEACH_GYM}#/?id=${
          activeCourseware.value?.content
       }&Authorization=${getToken()}&platform=pc&isHideBack=true&isHideMusicList=true&isYjt=1&systemType=teacher`,
-      KLX: `${URL_TEACH_KLX}?Authorization=${getToken()}&id=${
+      KLX: `${URL_TEACH_KLX}#/?id=${
          activeCourseware.value?.content
-      }&isHideBack=true&limitModel=practice&isYjt=1&client=teacher`
+      }&Authorization=${getToken()}&platform=pc&isHideBack=true&isHideMusicList=true&isYjt=1&systemType=teacher`
    }
    return urlObj[userStoreHook.roles!]
 })
@@ -528,7 +528,7 @@ function handleGoPracticeBtn(activeCoursewareResourceId: string) {
    const urlObj = {
       GYT: `${URL_TEACH_GYT}?id=${activeCoursewareResourceId}&modelType=practice&modeType=json&Authorization=${getToken()}&isYjt=1&&isHideBack=false`,
       GYM: `${URL_TEACH_GYM}#/?id=${activeCoursewareResourceId}&Authorization=${getToken()}&platform=pc&isYjt=1&systemType=teacher&isHideMusicList=true`,
-      KLX: `${URL_TEACH_KLX}?Authorization=${getToken()}&id=${activeCoursewareResourceId}&limitModel=practice&isYjt=1&client=teacher`
+      KLX: `${URL_TEACH_KLX}#/?id=${activeCoursewareResourceId}&Authorization=${getToken()}&platform=pc&isYjt=1&systemType=teacher&isHideMusicList=true`
    }
    isPracticeShow.value = true
    practiceUrl.value = urlObj[userStoreHook.roles!]