123456789101112131415161718192021 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class GreenForm extends Validate{
- protected $rule = [
- 'title|名称' => 'require|length:1,200',
- ];
- protected $message = [
- 'title.length' => '名称必须200字以内',
- ];
- protected $scene = [
- ];
- }
|