...
|
...
|
@@ -94,8 +94,8 @@ class IndexController extends HomeBaseController |
|
|
$this->assign('res_xqyy',$res_xqyy);
|
|
|
|
|
|
//推广视频
|
|
|
$res_djxq = cache('res_djxq');
|
|
|
if(!$res_djxq){
|
|
|
// $res_djxq = cache('res_djxq');
|
|
|
// if(!$res_djxq){
|
|
|
$position = CityCategoryModel::xqyy;
|
|
|
$city_id = CityCategoryModel::djxq;
|
|
|
$field = 'id,more,thumbnail';
|
...
|
...
|
@@ -107,8 +107,8 @@ class IndexController extends HomeBaseController |
|
|
if($res_djxq){
|
|
|
$res_djxq = $res_djxq[0];
|
|
|
}
|
|
|
cache('res_djxq', $res_djxq);
|
|
|
}
|
|
|
// cache('res_djxq', $res_djxq);
|
|
|
// }
|
|
|
$this->assign('res_djxq',$res_djxq);
|
|
|
|
|
|
|
...
|
...
|
|