jpush / jpush-api-php-client

JPush's officially supported PHP client library for accessing JPush APIs. 极光推送官方支持的 PHP 版本服务器端 SDK。
https://docs.jiguang.cn
MIT License
522 stars 174 forks source link

Class 'JPush\ServiceNotAvaliable' not found #48

Closed wyzhcn closed 7 years ago

wyzhcn commented 7 years ago

class 没有正确引用

ghost commented 7 years ago

请说明一下使用情况,

wyzhcn commented 7 years ago

https://github.com/jpush/jpush-api-php-client/blob/master/src/JPush/Http.php 加一行 use JPush\Exceptions\ServiceNotAvaliable;

ghost commented 7 years ago

@wyzhcn 确实是这样子的,方便提个 PR 帮我完善一下子吗

ghost commented 7 years ago

fixed in https://github.com/jpush/jpush-api-php-client/commit/5999396cd3cb2c69b531107109ea8821de211cf8