0
0

Banner.php 299 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class Banner extends Validate{
  5. protected $rule = [
  6. 'title|标题' => 'require|length:1,200',
  7. ];
  8. protected $message = [
  9. 'title.length' => '名称必须200字以内',
  10. ];
  11. protected $scene = [
  12. ];
  13. }