...
|
...
|
@@ -76,12 +76,20 @@ class IndexController extends HomeBaseController |
|
|
// }
|
|
|
$this->assign('res_month',$month);
|
|
|
|
|
|
//星域秀场->星球影院
|
|
|
//星域秀场->首页宣传
|
|
|
// $res_xqyy = cache('res_xqyy');
|
|
|
// if(!$res_xqyy){
|
|
|
// $position = CityCategoryModel::xqyy;
|
|
|
// $field = 'id,more,index_thumbnail';
|
|
|
// $res_xqyy = $this->getVideoIndex($position,$field,1);
|
|
|
// foreach($res_xqyy as &$value){
|
|
|
// $video = json_decode($value['more'],true);
|
|
|
// $value['video'] = $video['video'];
|
|
|
// }
|
|
|
$position = CityCategoryModel::xqyy;
|
|
|
$city_id = CityCategoryModel::syxc;
|
|
|
$field = 'id,more,index_thumbnail';
|
|
|
$res_xqyy = $this->getVideoIndex($position,$field,1);
|
|
|
$res_xqyy = $this->getVideo($position,$city_id,$field,1,1);
|
|
|
foreach($res_xqyy as &$value){
|
|
|
$video = json_decode($value['more'],true);
|
|
|
$value['video'] = $video['video'];
|
...
|
...
|
|