瀏覽代碼

小程序首页

lizhen_gitee 8 月之前
父節點
當前提交
6ddbec765b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = ['*'];
 
 
     /**
     /**