1234567891011121314151617 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class ServiceTime extends Validate{
- protected $rule = [
- 'service_id|服务' => 'require|gt:0',
- 'day|日期' => 'require',
- 'start|开始时间' => 'require',
- 'end|结束时间' => 'require',
- 'limit|人数' => 'require|gt:0',
- ];
- }
|