fix: 修复登录缓存BUG

This commit is contained in:
Ying
2022-08-22 19:07:32 +08:00
parent 6e1b38a34b
commit 257cb95123
9 changed files with 74 additions and 57 deletions

View File

@@ -61,7 +61,7 @@ class IndexPermissions implements MiddlewareInterface
$this->needLogin = $property['needLogin'] ?? false;
$this->noNeedAuth = $property['noNeedAuth'] ?? [];
$this->repeatLogin = $property['repeatLogin'] ?? ['login', 'register'];
$this->JumpUrl = $property['JumpUrl'] ?: '/user/index';
$this->JumpUrl = $property['JumpUrl'] ?? '/user/index';
}
// 是否验证登录器