|
|
@@ -462,6 +462,8 @@ class GoodsService extends BaseService
|
|
|
$item['xd_price_rate'] = $xdPrice;
|
|
|
$item['retail_price1'] = $item['retail_price'];
|
|
|
$skuInfo = isset($item['sku'])? $item['sku'] : [];
|
|
|
+ $skuInfo['attr'] = isset($skuInfo['attr'])&&$skuInfo['attr']? json_decode($skuInfo['attr'],true) : [];
|
|
|
+ $item['sku'] = $skuInfo;
|
|
|
$price = isset($skuInfo['plat_price'])? $skuInfo['plat_price'] : 0;
|
|
|
if($price){
|
|
|
$item['retail_price'] = $this->getRealSalePrice($price);
|