123456789101112131415161718192021 |
- <?php
- namespace app\validate\merchant;
- use think\Validate;
- class StoreCouponSendValidate extends Validate
- {
- protected $failException = true;
- protected $rule = [
- 'coupon_id|优惠券' => 'require|integer',
- 'mark|用户类型' => 'array',
- 'is_all|用户类型' => 'require|in:0,1',
- 'search|用户类型' => 'require|array',
- 'uid|用户' => 'array'
- ];
- }
|