|
|
@@ -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');
|
|
|
}
|