24 行
575 B
PHP
24 行
575 B
PHP
<?php
|
|
|
|
namespace addons\shopro_wechat_trade\command;
|
|
|
|
use addons\shopro_wechat_trade\library\Installer;
|
|
use think\console\Command;
|
|
use think\console\Input;
|
|
use think\console\Output;
|
|
|
|
class InstallFull extends Command
|
|
{
|
|
protected function configure()
|
|
{
|
|
$this->setName('shopro_wechat_trade:install')
|
|
->setDescription('Install/repair shopro_wechat_trade plugin');
|
|
}
|
|
|
|
protected function execute(Input $input, Output $output)
|
|
{
|
|
Installer::run($output);
|
|
$output->writeln('Run: php think shopro_wechat_trade:verify');
|
|
}
|
|
}
|