moonsflyer 5 månader sedan
förälder
incheckning
cc06c78cb2
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      app/shopapi/controller/InfoController.php

+ 3 - 3
app/shopapi/controller/InfoController.php

@@ -19,7 +19,7 @@
 
 namespace app\shopapi\controller;
 
-use app\shopapi\lists\infoCategoryLists;
+use app\shopapi\lists\InfoCategoryLists;
 use app\shopapi\lists\InfoLists;
 use app\shopapi\logic\InfoLogic;
 
@@ -29,7 +29,7 @@ class InfoController extends BaseShopController
      * 无需登录即可访问的方法
      * @var array|string[]
      */
-    public array $notNeedLogin = ['infoLists', 'infoCategoryLists', 'detail'];
+    public array $notNeedLogin = ['infoLists', 'getInfoCategoryList', 'detail'];
 
     /**
      * @notes 信息列表
@@ -48,7 +48,7 @@ class InfoController extends BaseShopController
      * @author Tab
      * @date 2021/7/14 14:57
      */
-    public function infoCategoryLists()
+    public function getInfoCategoryList()
     {
         return $this->dataLists(new InfoCategoryLists());
     }