Skip to content

Commit 711bf89

Browse files
committed
fix:修复错误的无需登录/无需鉴权配置
1 parent 87434bb commit 711bf89

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

app/admin/controller/routine/Config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class Config extends Backend
1818
*/
1919
protected object $model;
2020

21-
protected array $noNeedLogin = ['index'];
22-
2321
protected array $filePath = [
2422
'appConfig' => 'config/app.php',
2523
'webAdminBase' => 'web/src/router/static/adminBase.ts',

app/admin/controller/user/Rule.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ class Rule extends Backend
2121
*/
2222
protected Tree $tree;
2323

24-
protected array $noNeedLogin = ['index'];
25-
2624
protected string|array $preExcludeFields = ['create_time', 'update_time'];
2725

2826
protected string|array $defaultSortField = ['weigh' => 'desc'];

app/api/controller/User.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ class User extends Frontend
1414
{
1515
protected array $noNeedLogin = ['checkIn', 'logout'];
1616

17-
protected array $noNeedPermission = ['index'];
18-
1917
public function initialize(): void
2018
{
2119
parent::initialize();

0 commit comments

Comments
 (0)