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