StoreCouponSendValidate.php 409 B

123456789101112131415161718192021
  1. <?php
  2. namespace app\validate\merchant;
  3. use think\Validate;
  4. class StoreCouponSendValidate extends Validate
  5. {
  6. protected $failException = true;
  7. protected $rule = [
  8. 'coupon_id|优惠券' => 'require|integer',
  9. 'mark|用户类型' => 'array',
  10. 'is_all|用户类型' => 'require|in:0,1',
  11. 'search|用户类型' => 'require|array',
  12. 'uid|用户' => 'array'
  13. ];
  14. }