This commit is contained in:
walkor 2022-12-23 15:00:06 +08:00
parent e5c648a57f
commit a0e348a422
2 changed files with 11 additions and 0 deletions

View File

@ -14,6 +14,11 @@ use support\Response;
*/ */
class AdminController extends Crud class AdminController extends Crud
{ {
/**
* 不需要鉴权的方法
* @var array
*/
protected $noNeedAuth = ['select'];
/** /**
* @var Admin * @var Admin

View File

@ -15,6 +15,12 @@ use support\Response;
*/ */
class RoleController extends Crud class RoleController extends Crud
{ {
/**
* 不需要鉴权的方法
* @var array
*/
protected $noNeedAuth = ['select'];
/** /**
* @var Role * @var Role
*/ */