Silent hace 6 años
padre
commit
0eb27a0cd1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Models/Student.php

+ 1 - 1
app/Models/Student.php

xqd
@@ -174,7 +174,7 @@ class Student extends Model
         if(!empty($tmp)) {
             $res .= $tmp . '小时';
         }
-        $tmp = floor($diff_time / 3600);
+        $tmp = floor($diff_time / 60);
         $diff_time = $diff_time % 60;
         if(!empty($tmp)) {
             $res .= $tmp . '分钟';