修改index接口无需登录
This commit is contained in:
@@ -10,7 +10,7 @@ use think\exception\ValidateException;
|
||||
|
||||
class Base extends Common
|
||||
{
|
||||
protected $noNeedLogin = [];
|
||||
protected $noNeedLogin = ['index'];
|
||||
protected $noNeedRight = ['*'];
|
||||
|
||||
protected $model;
|
||||
|
||||
Reference in New Issue
Block a user