| 123456789101112131415161718192021222324 |
- <?php
- /**
- * @package merchant
- *
- * @author xaboy
- * @day 2020-05-06
- *
- *
- */
- namespace app\validate\merchant;
- use think\Validate;
- class StoreAttrTemplateValidate extends Validate
- {
- protected $failException = true;
- protected $rule = [
- 'template_name|产品目标名称' => 'require|max:32',
- 'template_value|规则' => 'require|array|min:1'
- ];
- }
|