jpush/jpush-api-php-client

调用接口报错,请教解决方案

Closed this issue · 0 comments


Warning: require_once(/home/songhaowen/haoche/app/application/library/Jpush/src/JPush/Http.php): failed to open stream: Permission denied in /home/songhaowen/haoche/app/application/library/Jpush/autoload.php on line 7

Fatal error: require_once(): Failed opening required '/home/songhaowen/haoche/app/application/library/Jpush/src/JPush/Http.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/songhaowen/haoche/app/application/library/Jpush/autoload.php on line 7

按如下代码调用,调试报错,请教一下是不是我哪里出错了?谢谢
$client = new \JPush\Client(JPUSH_KEY, JPUSH_SECERT);
$device = $client->device();
$device->addTags($registration_id, $tag);