This commit is contained in:
chenbo 2023-12-15 11:36:49 +08:00
parent efec6a14a3
commit d9aecf8cea
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class DeviceController extends BaseApiController
} else {
$query->where('l.county_code', $this->areaCode);
}
})->where('d.is_online', 0)->count();
})->where('d.is_online', 2)->count();
return $this->success('成功', compact('total', 'online', 'offline'));