diff --git a/app/adminapi/validate/device/DeviceValidate.php b/app/adminapi/validate/device/DeviceValidate.php index 1bd92912..97d52b0f 100644 --- a/app/adminapi/validate/device/DeviceValidate.php +++ b/app/adminapi/validate/device/DeviceValidate.php @@ -38,7 +38,6 @@ class DeviceValidate extends BaseValidate 'monitor_type' => 'require', 'status' => 'require', 'is_online' => 'require', - 'is_bind' => 'require', ]; @@ -53,7 +52,6 @@ class DeviceValidate extends BaseValidate 'type' => '设备类型', 'status' => '设备状态', 'is_online' => '是否在线', - 'is_bind' => '是否绑定土地', ]; @@ -65,7 +63,7 @@ class DeviceValidate extends BaseValidate */ public function sceneAdd() { - return $this->only(['code','name','type','status','is_online','is_bind']); + return $this->only(['code','name','type','status','is_online']); } @@ -77,7 +75,7 @@ class DeviceValidate extends BaseValidate */ public function sceneEdit() { - return $this->only(['id','code','name','type','status','is_online','is_bind']); + return $this->only(['id','code','name','type','status','is_online']); }