api code global jain

This commit is contained in:
Abhishek Mali
2025-11-05 10:37:10 +05:30
commit 52fe7e2bec
2834 changed files with 1784903 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
namespace App\Console\Commands;
use App\Jobs\SendGenerateMemberID;
use Illuminate\Console\Command;
class SendMemberIDNotification extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'generate:memberid';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Generate your member ID';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
dispatch(new SendGenerateMemberID());
$this->info('Notification generate memberID dispatched successfully!');
return 0;
}
}