12345678910111213141516171819202122 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class ConveyDevice extends Validate{
- protected $rule = [
- 'title|标题' => 'require|length:1,200',
- 'patient|是否是pat病人运送' => 'require',
- ];
- protected $message = [
- 'title.length' => '名称必须200字以内',
- 'patient.require' => '请选择是否是pat病人运送',
- ];
- protected $scene = [
- ];
- }
|