...
|
...
|
@@ -122,8 +122,8 @@ 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));
|
|
|
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;
|
...
|
...
|
|