qifengquan 1 year ago
parent
commit
678f8ff30a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/data/controller/api/Goods.php

+ 1 - 1
app/data/controller/api/Goods.php

@@ -32,7 +32,7 @@ use think\Db;
  */
 class Goods extends Auth
 {
-    protected $noNeedLogin = ['getGoods'];
+    protected $noNeedLogin = ['getGoods','getCate'];
 
     /**
      * @Title ("用户信息")