v2board/app/Console/Commands/Test.php

45 lines
763 B
PHP
Raw Normal View History

2020-05-17 15:23:39 +08:00
<?php
namespace App\Console\Commands;
2021-04-28 16:56:08 +08:00
use App\Services\PaymentService;
2020-05-17 15:23:39 +08:00
use Illuminate\Console\Command;
class Test extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'test';
/**
* The console command description.
*
* @var string
*/
protected $description = '';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
2021-04-28 16:56:08 +08:00
$paymentService = new PaymentService('MGate');
var_dump($paymentService->form());
2020-05-17 15:23:39 +08:00
}
}