Car.php 373 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class Car extends Validate{
  5. protected $rule = [
  6. 'carport_id|停车位' => 'require',
  7. 'plate_num|车牌号' => 'require',
  8. 'name|车主姓名' => 'require',
  9. 'phone|车主电话' => 'require',
  10. ];
  11. protected $message = [
  12. ];
  13. protected $scene = [
  14. ];
  15. }