From 959f8d3503995e7afd7038f9e0cc04e04bf4fcab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Mon, 27 Dec 2021 13:29:19 +0800 Subject: [PATCH] WIP --- app/Listeners/CreateProductViewLog.php | 6 +----- app/Listeners/OrderPaidNotify.php | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app/Listeners/CreateProductViewLog.php b/app/Listeners/CreateProductViewLog.php index 3c37d819..cab8e11c 100644 --- a/app/Listeners/CreateProductViewLog.php +++ b/app/Listeners/CreateProductViewLog.php @@ -4,14 +4,10 @@ namespace App\Listeners; use App\Events\ProductSkuViewed; use App\Models\ProductViewLog; -use Illuminate\Contracts\Queue\ShouldQueue; -use Illuminate\Queue\InteractsWithQueue; use Throwable; -class CreateProductViewLog implements ShouldQueue +class CreateProductViewLog { - use InteractsWithQueue; - /** * Handle the event. * diff --git a/app/Listeners/OrderPaidNotify.php b/app/Listeners/OrderPaidNotify.php index a53e1bf7..3a0df949 100644 --- a/app/Listeners/OrderPaidNotify.php +++ b/app/Listeners/OrderPaidNotify.php @@ -4,14 +4,10 @@ namespace App\Listeners; use App\Events\OrderPaid; use App\Models\Message; -use Illuminate\Contracts\Queue\ShouldQueue; -use Illuminate\Queue\InteractsWithQueue; use Throwable; -class OrderPaidNotify implements ShouldQueue +class OrderPaidNotify { - use InteractsWithQueue; - /** * Handle the event. *