...
|
...
|
@@ -1847,13 +1847,13 @@ class Car extends Base |
|
|
$res = Db::name("order")->where("id",$id)->update(["commission_price"=>$rebook_fee,"rebook"=>1, "order_no" => getOrderSn(),"create_time"=>time()]);
|
|
|
$this->success("请求成功");
|
|
|
}else if($newrefund_time>3600 & $newrefund_time<7200){
|
|
|
$pay_fee = $order['price']*0.8;
|
|
|
$pay_fee = bcmul($order['price'],0.8,2);
|
|
|
$rebook_fee = $pay_fee;
|
|
|
}else if($newrefund_time>7200 & $newrefund_time<28800){
|
|
|
$pay_fee = $order['price']*0.9;
|
|
|
$pay_fee = bcmul($order['price'],0.9,2);
|
|
|
$rebook_fee = $pay_fee;
|
|
|
}else if($newrefund_time>28800 & $newrefund_time<43200){
|
|
|
$pay_fee = $order['price']*0.9;
|
|
|
$pay_fee = bcmul($order['price'],0.9,2);
|
|
|
$rebook_fee = $pay_fee;
|
|
|
}else if($newrefund_time>43200){
|
|
|
$pay_fee = $order['price'];
|
...
|
...
|
@@ -1930,13 +1930,13 @@ class Car extends Base |
|
|
$pay_fee = $order['price'];
|
|
|
$rebook_fee = 0;
|
|
|
}else if($newrefund_time>3600 & $newrefund_time<7200){
|
|
|
$pay_fee = $order['price']*0.8;
|
|
|
$pay_fee = bcmul($order['price'],0.8,2);
|
|
|
$rebook_fee = $pay_fee;
|
|
|
}else if($newrefund_time>7200 & $newrefund_time<28800){
|
|
|
$pay_fee = $order['price']*0.9;
|
|
|
$pay_fee = bcmul($order['price'],0.9,2);
|
|
|
$rebook_fee = $pay_fee;
|
|
|
}else if($newrefund_time>28800 & $newrefund_time<43200){
|
|
|
$pay_fee = $order['price']*0.9;
|
|
|
$pay_fee = bcmul($order['price'],0.9,2);
|
|
|
$rebook_fee = $pay_fee;
|
|
|
}else if($newrefund_time>43200){
|
|
|
$pay_fee = $order['price'];
|
...
|
...
|
|