diff --git a/app/api/model/Goods.php b/app/api/model/Goods.php index 8803c782..29f75761 100644 --- a/app/api/model/Goods.php +++ b/app/api/model/Goods.php @@ -161,6 +161,8 @@ class Goods extends GoodsModel ]; $goodsInfo->specifications = $newList; } + //加入足迹 + return $goodsInfo->hidden(static::getHidden(['images'])); } diff --git a/app/api/model/GoodsBrowseLog.php b/app/api/model/GoodsBrowseLog.php new file mode 100644 index 00000000..e064ae78 --- /dev/null +++ b/app/api/model/GoodsBrowseLog.php @@ -0,0 +1,24 @@ + +// +---------------------------------------------------------------------- +declare (strict_types=1); + +namespace app\api\model; + +use app\common\model\GoodsSpecRel as GoodsSpecRelModel; + +/** + * 商品规格关系模型 + * Class GoodsSpecRel + * @package app\api\model + */ +class GoodsBrowseLog extends GoodsSpecRelModel +{ +}