订单、纠纷
This commit is contained in:
35
app/Console/Commands/HourCustomerWalletTrsDelayPayCmd.php
Normal file
35
app/Console/Commands/HourCustomerWalletTrsDelayPayCmd.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?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('结束...');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user