From f5a1dbc717bac022125545b667ea6e8318a017c4 Mon Sep 17 00:00:00 2001 From: xuanchen <122383162@qq.com> Date: Wed, 19 Jan 2022 14:51:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/CheckCouponLog.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/Jobs/CheckCouponLog.php b/app/Jobs/CheckCouponLog.php index 18db0f2..64d0a42 100644 --- a/app/Jobs/CheckCouponLog.php +++ b/app/Jobs/CheckCouponLog.php @@ -3,15 +3,24 @@ namespace App\Jobs; use App\Models\Log; +use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use XuanChen\Coupon\Action\pingan\Verification; -class CheckCouponLog +class CheckCouponLog implements ShouldQueue { use Dispatchable, InteractsWithQueue; + public $queue = 'LISTENER'; + + public $delay = 0; + + public $tries = 1; + + public $timeout = 30; + protected $table; public function __construct(string $table)