This commit is contained in:
make
2025-11-13 18:16:40 +08:00
parent bee4801d80
commit 12e4752c98
3 changed files with 2 additions and 2 deletions

View File

@@ -19,10 +19,10 @@ class GuangGaoModel extends BaseModel
static public function getAdByCache($strGGFZCode, $intLimit = 10, $strSort = 'asc') static public function getAdByCache($strGGFZCode, $intLimit = 10, $strSort = 'asc')
{ {
// self::$arrGuangGao = []; self::$arrGuangGao = [];
if (self::$arrGuangGao == []) { if (self::$arrGuangGao == []) {
self::$arrGuangGao = Cache::get('GuangGao'); self::$arrGuangGao = Cache::get('GuangGao');
// self::$arrGuangGao = []; self::$arrGuangGao = [];
if (empty(self::$arrGuangGao)) { if (empty(self::$arrGuangGao)) {
self::flushCache(); self::flushCache();
self::$arrGuangGao = Cache::get('GuangGao'); self::$arrGuangGao = Cache::get('GuangGao');

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB