1
This commit is contained in:
@@ -167,10 +167,9 @@ class GetDeviceListV1Controller extends BaseController
|
|||||||
if ($this->getUserInfo('isAdmin') == UserModel::ADMIN_STP) {
|
if ($this->getUserInfo('isAdmin') == UserModel::ADMIN_STP) {
|
||||||
$where = $this->makeWhere();
|
$where = $this->makeWhere();
|
||||||
$result = $this->getDeviceList($where);
|
$result = $this->getDeviceList($where);
|
||||||
}
|
}else {
|
||||||
|
//$where = $this->makeWhere( $this->makeDeviceIdsWhere() );
|
||||||
else {
|
$where = $this->makeWhere();
|
||||||
$where = $this->makeWhere( $this->makeDeviceIdsWhere() );
|
|
||||||
$result = $this->getDeviceList($where);
|
$result = $this->getDeviceList($where);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user