123456789101112131415161718192021222324 |
- <?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);
- }
- }
|