Jelajahi Sumber

同步时间统计

任敬轩 2 tahun lalu
induk
melakukan
098ff9a1f5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Console/Commands/UpdateHkList.php

+ 1 - 1
app/Console/Commands/UpdateHkList.php

@@ -217,7 +217,7 @@ class UpdateHkList extends Command
                 CameraList::where('mine_id', $val->id)->where('index_code', '!=', NULL)->whereNotIn('index_code', $index_code_arr)->delete();
             }
 
-            $syn2['handle'] = $info->handle . $val->id . ':' . time() - $handle_start . ';';
+            $syn2['handle'] = $info->handle . $val->id . ':' . (time() - $handle_start) . ';';
             DB::table('syn')->where('id',$syn_id)->update($syn2);
 
             if($val->parent_id == 968){