正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -110,10 +110,10 @@ class OrderController extends HomeBaseController{ | @@ -110,10 +110,10 @@ class OrderController extends HomeBaseController{ | ||
110 | $date=floor(($end_time-$start_time)/86400); | 110 | $date=floor(($end_time-$start_time)/86400); |
111 | //去余数 | 111 | //去余数 |
112 | $yu=($end_time-$start_time)%86400; | 112 | $yu=($end_time-$start_time)%86400; |
113 | - dump($yu); | 113 | + |
114 | $new_start_time=$end_time-$yu;//时间戳 | 114 | $new_start_time=$end_time-$yu;//时间戳 |
115 | $new_end_time= $end_time;//时间戳 | 115 | $new_end_time= $end_time;//时间戳 |
116 | - | 116 | + dump($new_start_time); |
117 | $hours_start_time=date('H',$new_start_time); | 117 | $hours_start_time=date('H',$new_start_time); |
118 | $hours_end_time=date('H',$new_end_time); | 118 | $hours_end_time=date('H',$new_end_time); |
119 | 119 |
-
请 注册 或 登录 后发表评论