This commit is contained in:
make
2025-11-13 16:47:27 +08:00
parent a8c71d28cb
commit a18222deac
16 changed files with 160 additions and 388 deletions

View File

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