TongbuOrderJob.php 585 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace App\Jobs;
  3. use Illuminate\Bus\Queueable;
  4. use Illuminate\Contracts\Queue\ShouldQueue;
  5. use Illuminate\Queue\InteractsWithQueue;
  6. use Illuminate\Queue\SerializesModels;
  7. class TongbuOrderJob implements ShouldQueue
  8. {
  9. use InteractsWithQueue, Queueable, SerializesModels;
  10. /**
  11. * Create a new job instance.
  12. *
  13. * @return void
  14. */
  15. protected $data;
  16. public function __construct($data)
  17. {
  18. $this->data=$data;
  19. }
  20. /**
  21. * Execute the job.
  22. *
  23. * @return void
  24. */
  25. public function handle()
  26. {
  27. //
  28. }
  29. }