36 lines
937 B
PHP
36 lines
937 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use App\Models\Api\Wallet\CustomerWalletBalanceTransactionModel;
|
|
use Illuminate\Console\Command;
|
|
|
|
class HourCustomerWalletTrsDelayPayCmd extends Command
|
|
{
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'app:hour-customer-wallet-trs-delay-pay-cmd';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = '每小时检查用户钱包交易延迟支付';
|
|
|
|
/**
|
|
* Execute the console command.
|
|
*/
|
|
public function handle()
|
|
{
|
|
$this->info('每小时检查用户钱包交易延迟支付');
|
|
$this->info('开始...');
|
|
$oCustomerWalletBalanceTransactionModel = new CustomerWalletBalanceTransactionModel();
|
|
$oCustomerWalletBalanceTransactionModel->dealDelayPaymentTransactionCmd();
|
|
$this->info('结束...');
|
|
}
|
|
}
|