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