Files
cycle_api/app/Jobs/WalletPlatformUserWithdrawQueue.php
2024-03-08 00:58:23 +08:00

36 lines
935 B
PHP

<?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);
}
}