deviceId占用
This commit is contained in:
parent
da0e31cf53
commit
8ac6763038
|
@ -133,7 +133,7 @@ class DeviceController extends BaseAdminController
|
|||
{
|
||||
$iccid = $this->request->param('iccid', '');
|
||||
$deviceId = $this->request->param('deviceId', '');
|
||||
if (!$deviceId) {
|
||||
if (!empty($deviceId)) {
|
||||
// 判断设备编码是否被使用
|
||||
$device = Device::where('code', $deviceId)->find();
|
||||
if ($device) {
|
||||
|
|
Loading…
Reference in New Issue