123456789101112131415161718 |
- <?php
- namespace app\validate\admin;
- use think\Validate;
- class MerchantTypeValidate extends Validate
- {
- protected $failException = true;
- protected $rule = [
- 'type_name|店铺类型名称' => 'require|max:5',
- 'type_info|店铺类型要求' => 'max:256',
- ];
- }
|