From 6d92c7f1b123d244cfb63fb5da04e8ba4273a6d4 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Tue, 20 Jun 2023 17:31:10 +0800 Subject: [PATCH] =?UTF-8?q?pc=E7=AB=AF=E6=98=BE=E7=A4=BA=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E5=9B=BE=E6=A0=87=E7=9A=84=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/pc/HomeServices.php | 2 ++ 1 file changed, 2 insertions(+) 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'); }