ModeCate.php 217 B

1234567891011121314
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class ModeCate extends Validate{
  5. protected $rule = [
  6. 'title|名称' => 'require|length:1,10',
  7. 'mode|类型' => 'require',
  8. ];
  9. }