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