wallet
This commit is contained in:
35
app/Jobs/WalletPlatformUserWithdrawQueue.php
Normal file
35
app/Jobs/WalletPlatformUserWithdrawQueue.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs;
|
||||
|
||||
use App\Models\Wallet\PlatformUser\WalletPlatformUserTransactionModel;
|
||||
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;
|
||||
|
||||
class WalletPlatformUserWithdrawQueue implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//处理平台用户提现
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*/
|
||||
public function handle(array $params): void
|
||||
{
|
||||
$id = $params['wallet_platform_user_transaction_id'];
|
||||
$oWalletPlatformUserTransactionModel = new WalletPlatformUserTransactionModel();
|
||||
$oWalletPlatformUserTransactionModel->withdrawConsumer($id);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user