|
|
@@ -47,7 +47,7 @@ class GoodsClass extends BaseClass
|
|
|
//免费配送范围
|
|
|
$val['freeSendDist'] = 5;
|
|
|
//多款式
|
|
|
- $val['goodsStyleList'] = isset($val['goodsStyle']) && $val['goodsStyle'] == 1 ? GoodsStyleClass::getStyleList($id) : [];
|
|
|
+ $val['goodsStyleList'] = isset($val['goodsStyle']) && $val['goodsStyle'] == 1 ? array_values(GoodsStyleClass::getStyleList($id)) : [];
|
|
|
$val['createDate'] = date("Y-m-d", strtotime($val['createTime']));
|
|
|
$val['merchantName'] = '';
|
|
|
//节日涨价
|