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)