@@ -9,7 +9,7 @@ use think\Db;
*/
class Index extends Api
{
- protected $noNeedLogin = ['*'];
+ protected $noNeedLogin = ['index'];
protected $noNeedRight = ['*'];
/**