diff --git a/crmeb/app/services/pc/HomeServices.php b/crmeb/app/services/pc/HomeServices.php index ef67108af..a4765a034 100644 --- a/crmeb/app/services/pc/HomeServices.php +++ b/crmeb/app/services/pc/HomeServices.php @@ -12,6 +12,7 @@ declare (strict_types=1); namespace app\services\pc; +use app\services\activity\coupon\StoreCouponIssueServices; use app\services\BaseServices; use app\services\product\product\StoreCategoryServices; use app\services\product\product\StoreProductServices; @@ -42,6 +43,7 @@ class HomeServices extends BaseServices } else { $item['star'] = '3.0'; } + $item['checkCoupon'] = app()->make(StoreCouponIssueServices::class)->checkProductCoupon($item['id']); } $info['productList'] = get_thumb_water($productList, 'big'); }