From b609eeb0eb3050f9fa8d31f37766f0eda30f9151 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Mon, 29 Dec 2025 15:18:39 +0800 Subject: [PATCH] 1 --- .../controller/device/GetDeviceListV1Controller.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Server/application/cunkebao/controller/device/GetDeviceListV1Controller.php b/Server/application/cunkebao/controller/device/GetDeviceListV1Controller.php index cef4d96f..f55310f6 100644 --- a/Server/application/cunkebao/controller/device/GetDeviceListV1Controller.php +++ b/Server/application/cunkebao/controller/device/GetDeviceListV1Controller.php @@ -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); }