|
|
@@ -3,7 +3,6 @@
|
|
|
namespace biz\goods\classes;
|
|
|
|
|
|
use biz\goods\services\GoodsCategoryService;
|
|
|
-use biz\goods\services\GoodsStyleService;
|
|
|
use biz\merchant\services\MerchantService;
|
|
|
use common\components\business;
|
|
|
use common\components\stringUtil;
|
|
|
@@ -45,7 +44,7 @@ class GoodsClass extends BaseClass
|
|
|
//免费配送范围
|
|
|
$val['freeSendDist'] = 5;
|
|
|
//多款式
|
|
|
- $val['goodsStyleList'] = isset($val['goodsStyle']) && $val['goodsStyle'] == 1 ? GoodsStyleService::getStyle($id) : [];
|
|
|
+ $val['goodsStyleList'] = isset($val['goodsStyle']) && $val['goodsStyle'] == 1 ? GoodsStyleClass::getStyleList($id) : [];
|
|
|
$val['createDate'] = date("Y-m-d", strtotime($val['createTime']));
|
|
|
$merchantId = $val['merchantId'];
|
|
|
$val['merchantName'] = isset($merchantList[$merchantId]['merchantName']) ? $merchantList[$merchantId]['merchantName'] : '';
|