fix hit and run addHour

This commit is contained in:
xiaomlove
2025-01-21 13:01:10 +08:00
parent 03c65b6f2e
commit b3702cb065

View File

@@ -215,7 +215,7 @@ class HitAndRunRepository extends BaseRepository
}
//unreached
if ($row->created_at->addHours($setting['inspect_time'])->lte(Carbon::now())) {
if ($row->created_at->addHours((int)$setting['inspect_time'])->lte(Carbon::now())) {
$result = $this->unreached($row, $setting, !isset($disabledUsers[$row->uid]));
if ($result) {
$successCounts++;