diff --git a/code/app/home/view/videoDadi/index/index.html b/code/app/home/view/videoDadi/index/index.html index 9aed468..3cbd7f5 100644 --- a/code/app/home/view/videoDadi/index/index.html +++ b/code/app/home/view/videoDadi/index/index.html @@ -119,7 +119,7 @@
{ad:list code="INDEX_TOP_GUANG_GAO" order="rand" limit="3" id="Ad"} - + {$Ad.gg_wen_zi}

{$Ad.gg_wen_zi}

diff --git a/code/app/model/GuangGaoModel.php b/code/app/model/GuangGaoModel.php index 4ccc689..891cc30 100644 --- a/code/app/model/GuangGaoModel.php +++ b/code/app/model/GuangGaoModel.php @@ -19,10 +19,10 @@ class GuangGaoModel extends BaseModel static public function getAdByCache($strGGFZCode, $intLimit = 10, $strSort = 'asc') { - self::$arrGuangGao = []; + // self::$arrGuangGao = []; if (self::$arrGuangGao == []) { self::$arrGuangGao = Cache::get('GuangGao'); - self::$arrGuangGao = []; + // self::$arrGuangGao = []; if (empty(self::$arrGuangGao)) { self::flushCache(); self::$arrGuangGao = Cache::get('GuangGao');