HumanInstitutionValidate.php 542 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class HumanInstitutionValidate extends Validate
  5. {
  6. protected $rule = [
  7. 'name' => 'require',
  8. 'tel' => 'require',
  9. 'address' => 'require',
  10. 'introduction' => 'require',
  11. ];
  12. protected $message = [
  13. 'name' => '机构名称不能为空',
  14. 'tel' => '联系电话不能为空',
  15. 'address' => '机构地址不能为空',
  16. 'introduction' => '机构简介不能为空',
  17. ];
  18. }