|
|
|
@ -38,8 +38,8 @@ class CouponService implements CouponServiceInterface |
|
|
|
'jump_data' => [ |
|
|
|
'src' => "/zh_cjdianc/pages/couponrebate/index?activity_type=".$activityType, |
|
|
|
'src2' => "/zh_cjdianc/pages/couponrebate/index?activity_type=".$activityType, |
|
|
|
'share_bg' => env('OSS_IMG_HOST').'/attachment/images/png/2020/08/11/23245eea88db680670df67e77e0d8d7e.png', |
|
|
|
'receive_bg' => env('OSS_IMG_HOST')."/attachment/images/background/dangmian_dialog_background.png", |
|
|
|
'share_bg' => env('OSS_IMG_HOST').'/attachment/images/png/2020/08/11/d697d43b91913f861f931649f0898815.png', |
|
|
|
'receive_bg' => env('OSS_IMG_HOST')."/attachment/images/png/2020/08/11/9c7d7c95b5de29539fad4bc9a2fcb98d.png", |
|
|
|
'coupons' => [] |
|
|
|
] |
|
|
|
]; |
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|