This commit is contained in:
2025-12-01 15:13:04 +08:00
parent 334341313c
commit d3e6a37418
+6 -6
View File
@@ -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)) {