控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
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.

validate.stub 366B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace {%validateNamespace%};
  3. use think\Validate;
  4. class {%validateName%} 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. }