UserAuditA.php
714 字节
<?php
namespace app\api\validate;
class UserAuditA extends BaseValidate
{
protected $rule = [
'name' => 'require',
'sex_data' => 'require',
'id_number' => 'require',
'auth_true_image' => 'require',
'auth_false_image' => 'require',
'status' => 'require',
];
protected $message = [
'name.require' => '用户姓名不能为空',
'sex_data.require' => '用户性别不能为空',
'id_number.require' => '身份证号码不能为空',
'auth_true_image.require' => '身份证正面不能为空',
'auth_false_image.require' => '身份证反面不能为空',
'status.require' => '类别不能为空',
];
}