img
litian
2025-03-17 109c5106f13dc7600e217c5a51f78ccf61dd526b
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -440,6 +440,7 @@
                titleName: items.name
              })
              this.aliVod(file, this.data.showData)
            } else {
              this.setData({
                showData: items.file ? app.config.requestCtx + '/file/api/ApiDownload?md5=' + items.file : app.config.requestCtx + '/file/api/ApiDownload?md5=' + items.freeFile,
@@ -479,9 +480,9 @@
      // showData: '',
      titleName: item.name
    })
    if (item.selectType == "video" || item.learnSelectType === "video") {
      if (this.data.formPath === "jsek_cloudLearning") {
        let file =
          item.protectedFile || item.file ? file = item.protectedFile || item.file : file = item.freeFile
        this.setData({
@@ -498,11 +499,11 @@
  },
  aliVod(md5, currentVideo) {
    if (md5) {
    let query = {
      md5: md5,
      appRefCode: app.config.appRefCode
    }
    app.MG.file.getAliVod(query).then((res) => {
      if (res) {
        if (res && res.data == '') {
@@ -529,6 +530,12 @@
        })
      }
    })
    } else {
      return wx.showToast({
        icon: 'error',
        title: '暂无视频资源',
      })
    }
  },
  timeUpdate(e) {