基地经纬度

This commit is contained in:
chenbo 2024-02-03 16:49:36 +08:00
parent 44b5724374
commit 0fb2555d4f
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class DeviceController extends BaseAdminController
$iccid = $this->request->param('iccid', '');
$deviceId = $this->request->param('deviceId', '');
// 判断设备编码是否被使用
$device = Device::where('sn', $deviceId)->find();
$device = Device::where('code', $deviceId)->find();
if ($device) {
return $this->fail('设备编码已被使用');
}