|
|
@@ -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());
|
|
|
}
|