正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -374,7 +374,7 @@ class UsersController extends HomeBaseController{ | @@ -374,7 +374,7 @@ class UsersController extends HomeBaseController{ | ||
374 | $start='1543812320'; | 374 | $start='1543812320'; |
375 | $end='1543812407'; | 375 | $end='1543812407'; |
376 | $time=$end-$start; | 376 | $time=$end-$start; |
377 | - $return['hour']=$time/3600; | 377 | + $return['hour']=floor($time/3600); |
378 | $return['min']=($time-$return['hour']*3600)/60; | 378 | $return['min']=($time-$return['hour']*3600)/60; |
379 | dump($return); | 379 | dump($return); |
380 | } | 380 | } |
-
请 注册 或 登录 后发表评论