slince / smartqq

:penguin: SmartQQ (原 WebQQ ) API 的 PHP 语言实现,提供了一系列更优雅可读性更高的API
MIT License
82 stars 27 forks source link

执行缓慢怎么破 #25

Closed 2488583886 closed 5 years ago

2488583886 commented 6 years ago

$ptWebQQ = $this->getPtWebQQ($this->certificationUrl); $vfWebQQ = $this->getVfWebQQ($ptWebQQ); list($uin, $pSessionId) = $this->getUinAndPSessionId($ptWebQQ); $this->credential = new Credential($ptWebQQ, $vfWebQQ, $pSessionId, $uin, static::$clientId, $this->cookies); //获取在线状态避免103 $this->getFriendsOnlineStatus(); return $this->credential; 这个要执行好几分钟咋破

slince commented 6 years ago

扫码以后,要执行很长时间? 你可以在代码里做几个输出,看看具体是哪一步耗时

slince commented 6 years ago

composer require slince/smartqq ^2.2@beta 试试新改版以后的会不会好一点

slince commented 5 years ago

有问题的话再开启