diff --git a/app/api/controller/Goods.php b/app/api/controller/Goods.php index 60fc45f2..ec69e6c8 100755 --- a/app/api/controller/Goods.php +++ b/app/api/controller/Goods.php @@ -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']; /** * 商品详情