|
@@ -50,7 +50,7 @@ class AuctionOrder extends BaseModel
|
|
|
->leftJoin('auction_pay pay', 'a.collection_id = pay.uid')
|
|
|
->where('a.order_id', $data['order_id'])->find();
|
|
|
$product = AuctionProduct::where('id', $list['product_id'])->find();
|
|
|
- $list['actual_price'] = $list['price'] - $product['fictitious_price'];
|
|
|
+ $list['actual_price'] = round($list['price'] - $product['fictitious_price'], 2);
|
|
|
$pay = AuctionPay::where('uid', $list['collection_id'])->select();
|
|
|
$list['wx'] = [];
|
|
|
$list['zfb'] = [];
|