jpush-api-php-client icon indicating copy to clipboard operation
jpush-api-php-client copied to clipboard

JPush's officially supported PHP client library for accessing JPush APIs. 极光推送官方支持的 PHP 版本服务器端 SDK。

Results 8 jpush-api-php-client issues
Sort by recently updated
recently updated
newest added

1.批量推送的时候,当某些reg_id无效,会导致代码无法执行下去,其他代码无法执行,这个SDK是新手写的吧,真的很难相信这是极光的官方API 2.当使用require方式的时候加载,会在CLI模式下莫名其妙输出一串路径字符串,声明下我代码里没有输出任何字符。

官方文档 https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push#%E6%8E%A8%E9%80%81%E6%92%A4%E9%94%80 我自己的解决方案 ,注意自己处理命名空间,还要修改 key 和 密钥 Aurora.php ```

> https://github.com/jpush/jpush-api-php-client/blob/master/src/JPush/PushPayload.php #### options里面没有加上third_party_channel参数的判断,导致vivo厂商通道的参数无法加入 ``` "options": { "third_party_channel": { "vivo": { "distribution": "ospush", "classification": 1//可选,int 类型,2020/06 新增,和vivo官方字段含义一致 0 代表运营消息,1 代表系统消息,不填vivo官方默认为0 } } } ``` https://go48pg.yuque.com/docs/share/83fb8f80-1edb-48ca-8e4a-df8a45d82c6b?# ![image](https://user-images.githubusercontent.com/8098212/140008060-6ea397ac-d206-49ba-922c-d72430c54f2f.png) #### 应修改为 ``` public...

![image](https://user-images.githubusercontent.com/12292057/99637376-b886fe80-2a7f-11eb-8f11-9286dd66e531.png) 这个方法请求出去会报错 404 我把 117 行 改成 makeURL('device') 就好了

我采用文档的"jpush/jpush":"*" 最后安装的竟然是v3.3.8的老版本的?

composer update 侵入性太大,更新 **所有包** 现有项目很容易出现问题