You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
349 B

  1. <?php
  2. namespace app\admin\validate;
  3. use think\Validate;
  4. class UserRule extends Validate
  5. {
  6. /**
  7. * 验证规则
  8. */
  9. protected $rule = [
  10. ];
  11. /**
  12. * 提示消息
  13. */
  14. protected $message = [
  15. ];
  16. /**
  17. * 验证场景
  18. */
  19. protected $scene = [
  20. 'add' => [],
  21. 'edit' => [],
  22. ];
  23. }