Bläddra i källkod

获取 serverinfo 返回的 channelId 参数修改为 channelCode

reghao 1 år sedan
förälder
incheckning
c4d2f864b1

+ 1 - 1
src/components/upload/EditVideo.vue

@@ -167,7 +167,7 @@ export default {
           testChunks: false,
           query: (file, chunk) => {
             return {
-              channelId: this.form.channelId
+              channelId: resData.channelCode
             }
           },
           headers: {

+ 1 - 1
src/components/upload/PublishFile.vue

@@ -90,7 +90,7 @@ export default {
           },
           query: (file, chunk) => {
             return {
-              channelId: resData.channelId,
+              channelId: resData.channelCode,
               multiparts: ''
             }
           },

+ 1 - 1
src/components/upload/PublishVideo.vue

@@ -189,7 +189,7 @@ export default {
           },
           query: (file, chunk) => {
             return {
-              channelId: resData.channelId,
+              channelId: resData.channelCode,
               multiparts: ''
             }
           },