作者 sgj
1 个管道 的构建 通过 耗费 0 秒

添加时间信息

@@ -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 }