28 lines
706 B
PHP
28 lines
706 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2021 勾股工作室
|
|
* @license https://opensource.org/licenses/Apache-2.0
|
|
* @link https://www.gougucms.com
|
|
*/
|
|
|
|
namespace app\admin\validate;
|
|
use think\Validate;
|
|
|
|
class SzxcUserAuthenticationValidate extends Validate
|
|
{
|
|
protected $rule = [
|
|
'name' => 'require',
|
|
'idcard' => 'require',
|
|
'pic_z' => 'require',
|
|
'pic_f' => 'require',
|
|
'status' => 'require',
|
|
];
|
|
|
|
protected $message = [
|
|
'name.require' => '姓名不能为空',
|
|
'idcard.require' => '身份证号不能为空',
|
|
'pic_z.require' => '身份证正面不能为空',
|
|
'pic_f.require' => '身份证反面不能为空',
|
|
'status.require' => '审核状态不能为空',
|
|
];
|
|
} |