Selaa lähdekoodia

小程序首页

lizhen_gitee 8 kuukautta sitten
vanhempi
commit
6ddbec765b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

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