测试
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user