作者 景龙
1 个管道 的构建 通过 耗费 7 秒

调试禁止视频

... ... @@ -193,8 +193,12 @@ class IndexController extends HomeBaseController
->where('id',$id)
->field('id,more')
->find();
$video = json_decode($res['more'],true);
$video_url = $video['video'];
if($res['more']){
$video = json_decode($res['more'],true);
$video_url = $video['video'];
}else{
$video_url = '';
}
return $video_url;
}
... ...
... ... @@ -110,7 +110,8 @@
</div>
<!--id-->
<input type="hidden" value="{$vo.id}" class="li_id">
<input type="hidden" value="{:cmf_get_file_download_url($vo.video)}" class="li_video">
<!--<input type="hidden" value="{:cmf_get_file_download_url($vo.video)}" class="li_video">-->
<input type="hidden" value="/portal/index/getVideoById?id={$vo.id}" class="li_video">
<!--标题-->
<input type="hidden" value="{$vo.post_title}" class="li_post_title">
<!--国家-->
... ...