diff --git a/app/adminapi/controller/device/DeviceController.php b/app/adminapi/controller/device/DeviceController.php index fc30a86..b7d221c 100644 --- a/app/adminapi/controller/device/DeviceController.php +++ b/app/adminapi/controller/device/DeviceController.php @@ -131,8 +131,8 @@ class DeviceController extends BaseAdminController public function queryDeviceIccid() { - $iccid = $this->request->param('iccid', ''); - $deviceId = $this->request->param('deviceId', ''); + $iccid = $this->request->param('iccid'); + $deviceId = $this->request->param('deviceId'); // 判断设备编码是否被使用 $device = Device::where('code', $deviceId)->find(); if ($device) {