|
|
@@ -191,7 +191,7 @@ class GoodsService extends BaseService
|
|
|
$v['detail_img'] = $v['detail_img']? json_decode($v['detail_img'], true) : [];
|
|
|
$v['attr'] = $v['attr']? json_decode($v['attr'], true) : [];
|
|
|
$v['main_img'] = $v['main_img']? get_image_url($v['main_img']) : '';
|
|
|
- $v['cost_prict'] = $v['retail_price']? moneyFormat($v['retail_price']/$usdtPrice * $xdPrice,2) : $info['cost_price'];
|
|
|
+ $v['cost_price'] = $v['retail_price']? moneyFormat($v['retail_price']/$usdtPrice * $xdPrice,2) : $info['cost_price'];
|
|
|
|
|
|
}
|
|
|
unset($v);
|