123456789101112131415 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class AttendanceLeave extends Validate{
- protected $rule = [
- 'user_id|用户' => 'require|gt:0',
- 'start_time|开始时间'=>'require',
- 'end_time|结束时间'=>'require',
- 'days|请假天数'=>'require',
- ];
- }
|