...
|
...
|
@@ -208,6 +208,10 @@ class OrderModel |
|
|
$result['salePrice'] = self::filterOrderPrice($orderDetail['data']['promotion_amount']); // 活动金额
|
|
|
$result['freight'] = $orderDetail['data']['shipping_cost']; // 运费
|
|
|
$result['coupon'] = self::filterOrderPrice($orderDetail['data']['coupons_amount']); // 优惠券
|
|
|
if (isset($orderDetail['data']['promo_code_amount'])) {
|
|
|
$result['promo_code_amount'] = self::filterOrderPrice($orderDetail['data']['promo_code_amount']); // 优惠码
|
|
|
}
|
|
|
|
|
|
$result['yohoCoin'] = self::filterOrderPrice($orderDetail['data']['yoho_coin_num']); // YOHO币
|
|
|
$result['price'] = $orderDetail['data']['amount']; // 实付金额
|
|
|
$result['goodsAmount'] = $orderDetail['data']['payment_amount']; // 商品总金额没有人民币符号
|
...
|
...
|
|