From d3e6a37418e6eeca311fcf67c0b562bd1e5900f9 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Mon, 1 Dec 2025 15:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/BasicDataService.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/common/service/BasicDataService.php b/app/common/service/BasicDataService.php index 6ee1b9b..e473f63 100644 --- a/app/common/service/BasicDataService.php +++ b/app/common/service/BasicDataService.php @@ -57,9 +57,9 @@ class BasicDataService $cacheKey = self::LOGIN_TYPE_KEY; // 如果集合已存在,直接返回 - if (Redis::exists($cacheKey)) { - return; - } +// if (Redis::exists($cacheKey)) { +// return; +// } $loginTypes = $this->getAllLoginTypes(); if (empty($loginTypes)) { @@ -79,9 +79,9 @@ class BasicDataService $cacheKey = self::SYSTEM_CODE_KEY; // 如果集合已存在,直接返回 -// if (Redis::exists($cacheKey)) { -// return; -// } + if (Redis::exists($cacheKey)) { + return; + } $systemCodes = $this->getAllSystemCodes(); if (empty($systemCodes)) {