Browse Source

取消优惠券返回上限4个的限制

master
Lemon 5 years ago
parent
commit
30b5f55daa
  1. 2
      app/Service/v3/Implementations/CouponRecService.php

2
app/Service/v3/Implementations/CouponRecService.php

@ -384,7 +384,7 @@ class CouponRecService implements CouponRecServiceInterface
foreach ($coupons as $k => &$v){
if($v->active_type == 1 && count($result['not_receive']) < 4){
if($v->active_type == 1){
$result['not_receive'][] = $v;
}else if($v->active_type == 2 && in_array($v->id,$couponReceiveIds)){
$result['jump_data']['coupons'][] = $v->id;

Loading…
Cancel
Save