|
|
@@ -125,7 +125,7 @@ class Order extends Api
|
|
|
if(empty($order_info)) throw new Exception(__("订单不存在"));
|
|
|
|
|
|
$fee = getConfig('transfer_fee');
|
|
|
- $feeAmount = bcsub($params['price'] , bcmul($params['price'], $fee, 2), 2) ;
|
|
|
+ $feeAmount = bcmul($params['price'], $fee, 2) ;
|
|
|
$order_data['user_id'] = $this->auth->id;
|
|
|
$order_data['price'] = $params['price'];
|
|
|
$order_data['product_id'] = $order_info['product_id'];
|