From 87b22a05afea7aa44a8022160ed490810eda74ab Mon Sep 17 00:00:00 2001 From: guilinlan jin Date: Fri, 19 Jul 2024 09:08:54 +0800 Subject: [PATCH] 222 --- config/baseUrl.js | 8 ++++---- pages/component/commonComponents/video/index.vue | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/baseUrl.js b/config/baseUrl.js index 1bce5b8..5e03e6a 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -11,13 +11,13 @@ if (process.env.NODE_ENV === 'development') { - // baseUrl = "https://api.nuttyreading.com/"; // 线上正式 + baseUrl = "https://api.nuttyreading.com/"; // 线上正式 // baseUrl = "http://101.201.146.165:8088/App-EH/"; // 一路健康APP线上正式 - baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 + // baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 // baseUrl = "http://59.110.212.44:9200/pb/"; // baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑 @@ -32,10 +32,10 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 // 生产环境11 - baseUrl = "http://192.168.110.110:9200/pb/"; //磊哥 + // baseUrl = "http://192.168.110.110:9200/pb/"; //磊哥 // baseUrl = "http://59.110.212.44:9100/pb/"; // baseUrl = "https://testapi.nuttyreading.com/"; - // baseUrl = "https://api.nuttyreading.com/"; //1 + baseUrl = "https://api.nuttyreading.com/"; //1 // baseUrl = "ws://twin-ui.com:6001/"; // socketUrl = "ws://twin-ui.com:6001/"; } diff --git a/pages/component/commonComponents/video/index.vue b/pages/component/commonComponents/video/index.vue index 6e4d408..180ae1d 100644 --- a/pages/component/commonComponents/video/index.vue +++ b/pages/component/commonComponents/video/index.vue @@ -354,7 +354,7 @@ export default { // await this.playVideo(); // } console.log(this.firstTime, "这是第一次播放时长"); - await that.getVideo(); + // await that.getVideo(); } this.isSetFirstTime = true; }, @@ -758,7 +758,7 @@ export default { } }); - console.log('this.currentVideoList at line 456111111111111111111111:', this.videoList) + console.log('这是查看是否获取到hlstoken', this.videoData.mtsHlsUriToken,this.videoData) var playerOptions = { @@ -890,11 +890,11 @@ export default { playerOptions = { ...playerOptions, "playauth": this.videoData.playAuth, // 必选参数,参数值可通过调用GetVideoPlayAuth接口获取。 - format:'mp4', + format:'m3u8', // "encryptType": 1, // 必选参数,当播放私有加密流时需要设置本参数值为1。其它情况无需设置。 "playConfig": { "EncryptType": 'HLSEncryption', - "MtsHlsUriToken": this.videoData.MtsHlsUriToken, + "MtsHlsUriToken": this.videoData.mtsHlsUriToken, },