<?php namespace app\common\validate; use think\Validate; class MeetingDevice extends Validate{ protected $rule = [ 'title|名称' => 'require|length:1,30', ]; }