...
|
...
|
@@ -110,10 +110,10 @@ class OrderController extends HomeBaseController{ |
|
|
$date=floor(($end_time-$start_time)/86400);
|
|
|
//去余数
|
|
|
$yu=($end_time-$start_time)%86400;
|
|
|
dump($yu);
|
|
|
|
|
|
$new_start_time=$end_time-$yu;//时间戳
|
|
|
$new_end_time= $end_time;//时间戳
|
|
|
|
|
|
dump($new_start_time);
|
|
|
$hours_start_time=date('H',$new_start_time);
|
|
|
$hours_end_time=date('H',$new_end_time);
|
|
|
|
...
|
...
|
|