0
0

GreenAddrForm.php 354 B

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