1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user