slince / smartqq

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

不能获取消息了 #7

Closed helloqhq closed 6 years ago

helloqhq commented 6 years ago

获取消息接口返回都是这个

array(3) { ["errmsg"]=> string(5) "error" ["retcode"]=> int(0) ["retmsg"]=> string(2) "ok" }

slince commented 6 years ago

ok,腾讯应该又改规则了,我看下

slince commented 6 years ago

已经修复了,直接更新版本2.0.4就好 如果还是有问题,尝试去 http://w.qq.com/ 登录试试能否正常收到消息,如果可以再回过来重试即可。

helloqhq commented 6 years ago

运行报错呢

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /vendor/slince/smartqq/src/Request/GetGroupsRequest.php on line 56

slince commented 6 years ago

php版本和 /home/helloqhq/smartqq/vendor/slince/smartqq/src/Request/GetGroupsRequest.php 这个文件内容发一下

helloqhq commented 6 years ago

是我php版本过低了,用高版本没问题了