Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user