From bee4801d801eb855e37280ee8521e36a280d1aa0 Mon Sep 17 00:00:00 2001 From: make Date: Thu, 13 Nov 2025 18:02:55 +0800 Subject: [PATCH] debug --- code/app/home/view/videoDadi/index/index.html | 2 +- code/app/model/GuangGaoModel.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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');