From dbb96dad6b884b82b22e8069bc925bf15f270ade Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Tue, 11 Aug 2020 18:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E8=BF=94=E5=88=B8?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8--=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/CouponService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/CouponService.php b/app/Service/CouponService.php index 2d76319..b0aa716 100644 --- a/app/Service/CouponService.php +++ b/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; }