Browse Source

优惠券返券活动--修改获取接口

master
liangyuyan 5 years ago
parent
commit
dbb96dad6b
  1. 2
      app/Service/CouponService.php

2
app/Service/CouponService.php

@ -96,7 +96,7 @@ class CouponService implements CouponServiceInterface
foreach ($coupons as $k => &$v){
if($v->active_type == 1){
$result['not_receive'] = $v;
$result['not_receive'][] = $v;
}else if($v->active_type == 2){
$result['jump_data']['coupons'][] = $v->id;
}

Loading…
Cancel
Save