...
|
...
|
@@ -121,9 +121,6 @@ class OrderController extends HomeBaseController{ |
|
|
//获取整天的价格
|
|
|
$dayPrice=$this->getDayPrice();
|
|
|
|
|
|
|
|
|
dump(date('Y-m-d H:i:s',$start_time));
|
|
|
dump(date('Y-m-d H:i:s',$end_time));
|
|
|
//用了多少天
|
|
|
$day=floor(($end_time-$start_time)/86400);
|
|
|
$dayPrice=$day*$dayPrice;
|
...
|
...
|
|