12345678910111213141516171819202122 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class Car extends Validate{
- protected $rule = [
- 'carport_id|停车位' => 'require',
- 'plate_num|车牌号' => 'require',
- 'name|车主姓名' => 'require',
- 'phone|车主电话' => 'require',
- ];
- protected $message = [
- ];
- protected $scene = [
- ];
- }
|