123456789101112131415161718192021222324 |
- <?php
- namespace app\common\validate;
- use think\Validate;
- class Time extends Validate{
- protected $rule = [
- 'title|标题' => 'require|length:1,200',
- 'yy_time|预约时间间隔分钟' => 'require',
- 'bz_time|标准时间间隔分钟' => 'require',
- 'jg_time|警告时间间隔分钟' => 'require',
- 'wjjg_time|危机警告时间间隔分钟' => 'require',
- ];
- protected $message = [
- 'title.length' => '名称必须200字以内',
- ];
- protected $scene = [
- ];
- }
|