groupPushClient.sendGroupPush(payload) 返回的结果报错
PushPayload 内容:
{"platform":"all","audience":"all","notification":{"alert":" 我是内容"},"options":{"sendno":1506002107,"apns_production":false}}
堆栈信息显示
(Map)this._gson.fromJson(response.responseContent, (new TypeToken<Map<String, PushResult>>() {
}).getType());
报错:
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 256 path $.
按照官方的demo
https://github.com/jpush/jpush-api-java-client/blob/master/example/main/java/cn/jpush/api/examples/PushExample.java#L226 也报同样的错误,而前段时间是正常的,请检查返回值是不是变了