update
This commit is contained in:
parent
efec6a14a3
commit
d9aecf8cea
|
@ -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'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue