pull/1/head
wmc 10 months ago
parent b5564d37bb
commit eaa994cc7f
  1. 2
      app/api/model/Goods.php
  2. 24
      app/api/model/GoodsBrowseLog.php

@ -161,6 +161,8 @@ class Goods extends GoodsModel
];
$goodsInfo->specifications = $newList;
}
//加入足迹
return $goodsInfo->hidden(static::getHidden(['images']));
}

@ -0,0 +1,24 @@
<?php
// +----------------------------------------------------------------------
// | 萤火商城系统 [ 致力于通过产品和服务,帮助商家高效化开拓市场 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2023 https://www.yiovo.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed 这不是一个自由软件,不允许对程序代码以任何形式任何目的的再发行
// +----------------------------------------------------------------------
// | Author: 萤火科技 <admin@yiovo.com>
// +----------------------------------------------------------------------
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
{
}
Loading…
Cancel
Save