chuweiqiang 1 år sedan
förälder
incheckning
6325a47199
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      app/data/controller/api/Xw.php
  2. 1 1
      app/data/controller/api/auth/BestKnowledge.php

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

@@ -18,7 +18,7 @@ use think\db\Query;
  */
 class Xw extends Auth
 {
-    protected $noNeedLogin=['category','index','getLimit','show','comments'];
+    protected $noNeedLogin=['category','index','getLimit','show','comments','ad_show'];
     /**
      * @Title("分类")
      * @Returned ("id",desc="id")

+ 1 - 1
app/data/controller/api/auth/BestKnowledge.php

@@ -29,7 +29,7 @@ use think\facade\Validate;
  */
 class BestKnowledge extends Auth
 {
-    protected $noNeedLogin=['classification','knowlist','knowdetail','knowlist2'];
+    protected $noNeedLogin=['classification','knowlist','knowdetail','knowlist2','ad_detail'];
 
 
     /**