[WIP] ASO Payment

This commit is contained in:
R
2023-01-05 18:28:45 +07:00
parent 0fdad5a6c2
commit 804ac883fa
41 changed files with 882 additions and 177 deletions

37
app/Jobs/TestJob.php Normal file
View File

@@ -0,0 +1,37 @@
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeUnique;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Mail;
class TestJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct()
{
// dd('asdasd');
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
// dd('adsasd');
Mail::raw('Hello World!', function($msg) {$msg->to('myemail@gmail.com')->subject('Test Email'); });
}
}