24 lines
552 B
PHP
24 lines
552 B
PHP
<?php
|
|
|
|
namespace app\common\command;
|
|
|
|
use app\common\service\DemandGroupChatService;
|
|
use app\common\service\WorkWeChatService;
|
|
use think\console\Command;
|
|
use think\console\Input;
|
|
use think\console\Output;
|
|
|
|
class GroupChatFetch extends Command
|
|
{
|
|
protected function configure()
|
|
{
|
|
$this->setName('groupChat:fetch')->setDescription('groupChat fetch command!');
|
|
}
|
|
|
|
protected function execute(Input $input, Output $output)
|
|
{
|
|
$output->writeln("groupChat fetch...");
|
|
DemandGroupChatService::updateQrCode(8);
|
|
|
|
}
|
|
} |