123456789101112131415161718192021222324252627 |
- <?php
- namespace {%validateNamespace%};
- use think\Validate;
- class {%validateName%} extends Validate
- {
- /**
- * 验证规则
- */
- protected $rule = [
- ];
- /**
- * 提示消息
- */
- protected $message = [
- ];
- /**
- * 验证场景
- */
- protected $scene = [
- 'add' => [],
- 'edit' => [],
- ];
-
- }
|