123456789101112131415161718192021222324252627282930 |
- <?php
- namespace App\Jobs;
- use Illuminate\Support\Facades\DB;
- use Illuminate\Support\Facades\Log;
- class PayOrderAddCreditsJob extends Job
- {
- protected $data;
- /**
- * Create a new job instance.
- *
- * @return void
- */
- public function __construct($data)
- {
- $this->data = $data;
- }
- /**
- * Execute the job.
- *
- * @return void
- */
- public function handle()
- {
- Log::info($this->data);
- }
- }
|