<?php namespace app\common\validate; use think\Validate; class MeetingRoom extends Validate{ protected $rule = [ 'title|名称' => 'require', 'content|描述' => 'require', 'img|图片' => 'require', 'address|地址' => 'require', 'limit|容纳人数' => 'require', 'meeting_device_ids|会议服务/设备' => 'require', 'approver|审核人员' => 'require|gt:0', ]; }