Owner.php 325 B

12345678910111213141516171819202122
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class Owner extends Validate{
  5. protected $rule = [
  6. 'name|姓名' => 'require|length:1,200',
  7. 'phone|电话' => 'require',
  8. 'card|身份证' => 'require',
  9. ];
  10. protected $message = [
  11. ];
  12. protected $scene = [
  13. ];
  14. }