This commit is contained in:
walkor 2022-12-08 12:04:04 +08:00
parent 5782855513
commit 776099e197
6 changed files with 7 additions and 7 deletions

View File

@ -19,13 +19,13 @@ class AccountController extends Crud
* 不需要登录的方法
* @var string[]
*/
public $noNeedLogin = ['login', 'logout', 'captcha'];
protected $noNeedLogin = ['login', 'logout', 'captcha'];
/**
* 不需要鉴权的方法
* @var string[]
*/
public $noNeedAuth = ['info'];
protected $noNeedAuth = ['info'];
/**
* @var Admin

View File

@ -17,7 +17,7 @@ class ConfigController extends Base
* 不需要验证权限的方法
* @var string[]
*/
public $noNeedAuth = ['get'];
protected $noNeedAuth = ['get'];
/**
* 账户设置

View File

@ -15,7 +15,7 @@ class DictController extends Base
/**
* 不需要授权的方法
*/
public $noNeedAuth = ['get'];
protected $noNeedAuth = ['get'];
/**
* 浏览

View File

@ -19,7 +19,7 @@ class InstallController extends Base
* 不需要登录的方法
* @var string[]
*/
public $noNeedLogin = ['step1', 'step2'];
protected $noNeedLogin = ['step1', 'step2'];
/**
* 设置数据库

View File

@ -19,7 +19,7 @@ class RuleController extends Crud
*
* @var string[]
*/
public $noNeedAuth = ['get', 'permissionCodes'];
protected $noNeedAuth = ['get', 'permissionCodes'];
/**
* @var Rule

View File

@ -19,7 +19,7 @@ class TableController extends Base
* 不需要鉴权的方法
* @var string[]
*/
public $noNeedAuth = ['types'];
protected $noNeedAuth = ['types'];
/**
* 浏览