瀏覽代碼

添加视频

15954078560 2 年之前
父節點
當前提交
65086bbae5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/admin/controller/Video.php

+ 2 - 2
application/admin/controller/Video.php

@@ -113,7 +113,7 @@ class Video extends Backend
                     $url = 'http://jscp.agency.gitv.tv/epgDataSync/v1/' . $cspid . '/';
                     $videofile = $params['videofile'];
                     $videofile = explode('/', $videofile);
-                    $video_url = $videofile[4];
+                    $video_url = $videofile[3];
                     $data = [
 //                        'cspId' => $cspid,
                         'cpAlbumId' => $id,
@@ -210,7 +210,7 @@ class Video extends Backend
                     $url = 'http://jscp.agency.gitv.tv/epgDataSync/v1/' . $cspid . '/';
                     $videofile = $row['videofile'];
                     $videofile = explode('/', $videofile);
-                    $video_url = $videofile[4];
+                    $video_url = $videofile[3];
                     $data = [
 //                        'cspId' => $cspid,
                         'cpAlbumId' => $ids,