| | |
| | | parentName: options.parentName, |
| | | }) |
| | | } |
| | | const token = wx.getStorageSync(app.config.tokenKey) |
| | | if (!token) { |
| | | loginInfo(app, (data) => { |
| | | if (data) {} else {} |
| | | }) |
| | | } |
| | | this.resourceDetailsData() |
| | | |
| | | }, |
| | |
| | | aliVod(md5, currentVideo) { |
| | | let query = { |
| | | md5: md5, |
| | | appRefCode: config.appRefCode |
| | | appRefCode: app.config.appRefCode |
| | | } |
| | | MG.file.getAliVod(query).then((res) => { |
| | | app.MG.file.getAliVod(query).then((res) => { |
| | | if (res) { |
| | | this.setData({ |
| | | showDataVod: res, |
| | | }) |
| | | if (res && res.data == '') { |
| | | this.setData({ |
| | | showDataVod: currentVideo, |
| | | }) |
| | | } else { |
| | | this.setData({ |
| | | showDataVod: res, |
| | | }) |
| | | } |
| | | } else if (currentVideo) { |
| | | this.setData({ |
| | | showDataVod: currentVideo, |