H&R inspect time unreach do not update

This commit is contained in:
xiaomlove
2022-03-28 21:08:00 +08:00
parent cd7fe1704f
commit f2fe206d13
+5 -3
View File
@@ -106,9 +106,11 @@ class HitAndRunRepository extends BaseRepository
} }
//unreached //unreached
$result = $this->unreached($row); if ($row->added->addHours($setting['inspect_time'])->lte(Carbon::now())) {
if ($result) { $result = $this->unreached($row);
$successCounts++; if ($result) {
$successCounts++;
}
} }
} }
$page++; $page++;