0
0

House.php 384 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class House extends Validate{
  5. protected $rule = [
  6. 'area_id|小区' => 'require',
  7. 'cate|资源类型' => 'require',
  8. 'title|名称' => 'require|length:1,200',
  9. ];
  10. protected $message = [
  11. 'title.length' => '名称必须200字以内',
  12. ];
  13. protected $scene = [
  14. ];
  15. }