注释人脸相关代码

This commit is contained in:
chenbo 2023-09-08 21:21:22 +08:00
parent 5a936741dc
commit 460b2fd29c

View File

@ -35,7 +35,7 @@ class CompanyValidate extends BaseValidate
'company_name' => 'require|unique:Company',
'organization_code' => 'require',
'master_name' => 'require',
'id_card' => 'require',
// 'id_card' => 'require',
'master_position' => 'require',
'master_phone' => 'require',
'master_email' => 'require',
@ -53,7 +53,7 @@ class CompanyValidate extends BaseValidate
'company_name' => '公司名称',
'organization_code' => '组织机构代码',
'master_name' => '主联系人姓名',
'id_card' => '主联系人身份证',
// 'id_card' => '主联系人身份证',
'master_position' => '主联系人职务',
'master_phone' => '主联系人手机',
'master_email' => '主联系人邮箱',
@ -70,7 +70,7 @@ class CompanyValidate extends BaseValidate
*/
public function sceneAdd()
{
return $this->only(['company_name','organization_code','master_name','id_card','master_position','master_phone']);
return $this->only(['company_name','organization_code','master_name','master_position','master_phone']);
}
@ -82,7 +82,7 @@ class CompanyValidate extends BaseValidate
*/
public function sceneEdit()
{
return $this->only(['id','company_name','organization_code','master_name','id_card','master_position','master_phone']);
return $this->only(['id','company_name','organization_code','master_name','master_position','master_phone']);
}