Jelajahi Sumber

小程序首页

lizhen_gitee 9 bulan lalu
induk
melakukan
6ddbec765b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
 {
-    protected $noNeedLogin = ['*'];
+    protected $noNeedLogin = ['index'];
     protected $noNeedRight = ['*'];
 
     /**