This commit is contained in:
2022-01-19 14:51:37 +08:00
parent 16e8a25b05
commit f5a1dbc717

View File

@@ -3,15 +3,24 @@
namespace App\Jobs; namespace App\Jobs;
use App\Models\Log; use App\Models\Log;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\InteractsWithQueue;
use XuanChen\Coupon\Action\pingan\Verification; use XuanChen\Coupon\Action\pingan\Verification;
class CheckCouponLog class CheckCouponLog implements ShouldQueue
{ {
use Dispatchable, InteractsWithQueue; use Dispatchable, InteractsWithQueue;
public $queue = 'LISTENER';
public $delay = 0;
public $tries = 1;
public $timeout = 30;
protected $table; protected $table;
public function __construct(string $table) public function __construct(string $table)