ServiceTime.php 349 B

1234567891011121314151617
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class ServiceTime extends Validate{
  5. protected $rule = [
  6. 'service_id|服务' => 'require|gt:0',
  7. 'day|日期' => 'require',
  8. 'start|开始时间' => 'require',
  9. 'end|结束时间' => 'require',
  10. 'limit|人数' => 'require|gt:0',
  11. ];
  12. }