|
|
@@ -327,6 +327,7 @@ class Jd extends BaseController
|
|
327
|
327
|
'wlUnitPrice' => $third_party_goods_json_detail['lowestCouponPrice'],
|
|
328
|
328
|
'couMoney' => $third_party_goods_json_detail['coupon_money'][0]['discount'],
|
|
329
|
329
|
'nowPrice' => $third_party_goods_json_detail['lowestCouponPrice'],//现价
|
|
|
330
|
+ 'purchasePrice' => $third_party_goods_json_detail['purchasePrice'],//现价
|
|
330
|
331
|
'detail' => $third_party_goods_json_detail['imageList'],
|
|
331
|
332
|
|
|
332
|
333
|
'commission' => $third_party_goods_json_detail['commission'],
|
|
|
@@ -572,7 +573,8 @@ class Jd extends BaseController
|
|
572
|
573
|
'commission_rate' => $goods['commissionInfo']['commissionShare'] ?? '',//佣金比例
|
|
573
|
574
|
'coupon_money' => $couponMoney,
|
|
574
|
575
|
'coupon_link' => $maxCoupon['link'],
|
|
575
|
|
- 'lowestCouponPrice' => decimal2($goods['purchasePriceInfo']['purchasePrice']?? ($goods['priceInfo']['lowestCouponPrice']?? $goods['priceInfo']['price'])), //券后价lowestCouponPrice
|
|
|
576
|
+ 'lowestCouponPrice' => decimal2($goods['priceInfo']['lowestCouponPrice']?? $goods['priceInfo']['price']), //券后价lowestCouponPrice
|
|
|
577
|
+ 'purchasePrice' => decimal2($goods['purchasePriceInfo']['purchasePrice']?? 0.00), //到手价purchasePrice
|
|
576
|
578
|
'price' => $goods['priceInfo']['price'], //价格
|
|
577
|
579
|
'imageList' => array_column($goods['imageInfo']['imageList'], 'url'), //图片合集
|
|
578
|
580
|
'materialUrl' => $goods['materialUrl']
|