HumanInstitutionApplyValidate.php 448 B

123456789101112131415161718192021
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class HumanInstitutionApplyValidate extends Validate
  5. {
  6. protected $rule = [
  7. 'name' => 'require',
  8. 'join' => 'require',
  9. 'join_mobile' => 'require|mobile',
  10. ];
  11. protected $message = [
  12. 'name' => '机构名称不能为空',
  13. 'join' => '姓名不能为空',
  14. 'join_mobile' => '手机号格式错误',
  15. ];
  16. }