...
|
...
|
@@ -72,6 +72,10 @@ class Index extends Frontend |
|
|
// 获取视频第一帧图片
|
|
|
$video_info = json_decode(file_get_contents($data['video'] . '?avinfo'), true);
|
|
|
$data['video_image'] = $this->get_video_first_image($data['video'], $video_info);
|
|
|
|
|
|
|
|
|
$data_video = Db::name('open')->where('id',1)->find();
|
|
|
$data['switch'] = $data_video['switch'];
|
|
|
}elseif ($data['type'] == 1){
|
|
|
$data['images'] = '';
|
|
|
$data['video'] = '';
|
...
|
...
|
|