123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace app\validate\admin\user;
- use think\Validate;
- class UserValidate extends Validate
- {
-
- protected $rule = [
- 'pwd' => 'require|length:4,64',
- ];
-
- protected $message = [
- 'pwd.require' => '请填写密码',
- 'pwd.length' => '密码4-64长度字符',
- ];
- }
|