添加不需要登录过滤方法

This commit is contained in:
wangxiaowei 2024-09-02 16:15:05 +08:00
parent 1c644e58f6
commit 3fc561bdcb

@ -36,7 +36,7 @@ use think\facade\Db;
class Goods extends Api
{
public $like_not_need_login = ['getGoodsDetail', 'getHotList', 'getGoodsList', 'getGoodsListTemplate', 'getGoodsListByColumnId'];
public $like_not_need_login = ['getGoodsDetail', 'getHotList', 'getGoodsList', 'getGoodsListTemplate', 'getGoodsListByColumnId', 'newGoods'];
/**
* 商品详情