This commit is contained in:
wong
2025-12-29 15:18:39 +08:00
parent 203e8c8eaf
commit b609eeb0eb

View File

@@ -167,10 +167,9 @@ class GetDeviceListV1Controller extends BaseController
if ($this->getUserInfo('isAdmin') == UserModel::ADMIN_STP) {
$where = $this->makeWhere();
$result = $this->getDeviceList($where);
}
else {
$where = $this->makeWhere( $this->makeDeviceIdsWhere() );
}else {
//$where = $this->makeWhere( $this->makeDeviceIdsWhere() );
$where = $this->makeWhere();
$result = $this->getDeviceList($where);
}