소스 검색

添加视频

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,