|
@@ -447,7 +447,7 @@ class Pay extends Controller
|
|
|
$userprice = number_format($order['pay_price']*((100-$order['service_fee']-$order['royalties'])/100), 2, '.', '');
|
|
|
}
|
|
|
//平台可得
|
|
|
- $ptprice = (string)($order['pay_price']-$ybprice-$userprice);
|
|
|
+ $ptprice = (string)number_format(($order['pay_price']-$ybprice-$userprice), 2, '.', '');
|
|
|
$data = [
|
|
|
'ybprice'=>$ybprice,
|
|
|
'userprice'=>$userprice,
|