登录
This commit is contained in:
@@ -57,9 +57,9 @@ class BasicDataService
|
|||||||
$cacheKey = self::LOGIN_TYPE_KEY;
|
$cacheKey = self::LOGIN_TYPE_KEY;
|
||||||
|
|
||||||
// 如果集合已存在,直接返回
|
// 如果集合已存在,直接返回
|
||||||
if (Redis::exists($cacheKey)) {
|
// if (Redis::exists($cacheKey)) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
$loginTypes = $this->getAllLoginTypes();
|
$loginTypes = $this->getAllLoginTypes();
|
||||||
if (empty($loginTypes)) {
|
if (empty($loginTypes)) {
|
||||||
@@ -79,9 +79,9 @@ class BasicDataService
|
|||||||
$cacheKey = self::SYSTEM_CODE_KEY;
|
$cacheKey = self::SYSTEM_CODE_KEY;
|
||||||
|
|
||||||
// 如果集合已存在,直接返回
|
// 如果集合已存在,直接返回
|
||||||
// if (Redis::exists($cacheKey)) {
|
if (Redis::exists($cacheKey)) {
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
$systemCodes = $this->getAllSystemCodes();
|
$systemCodes = $this->getAllSystemCodes();
|
||||||
if (empty($systemCodes)) {
|
if (empty($systemCodes)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user