From d62a178e498e0e80c0220ca72553753c3d9a66c3 Mon Sep 17 00:00:00 2001 From: wicked-tc130 Date: Sat, 11 May 2024 18:32:50 +0800 Subject: [PATCH] update version to 5.0.9. --- README.md | 4 ++-- example-for-spring/pom.xml | 4 ++-- jiguang-sdk/pom.xml | 4 ++-- .../java/cn/jiguang/sdk/bean/device/DeviceSetParam.java | 6 ++++++ .../cn/jiguang/sdk/bean/report/ReceivedDetailGetResult.java | 2 +- pom.xml | 2 +- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1dc9661..87b0adc 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ ## 1. 集成 引入sdk包 ```xml - + io.github.jpush jiguang-sdk - 5.0.8 + 5.0.9 ``` diff --git a/example-for-spring/pom.xml b/example-for-spring/pom.xml index 3bbdef8..3370e2b 100644 --- a/example-for-spring/pom.xml +++ b/example-for-spring/pom.xml @@ -13,7 +13,7 @@ io.github.jpush example-for-spring - 5.0.8 + 5.0.9 8 @@ -26,7 +26,7 @@ io.github.jpush jiguang-sdk - 5.0.8 + 5.0.9 diff --git a/jiguang-sdk/pom.xml b/jiguang-sdk/pom.xml index f03c77f..62a55ae 100644 --- a/jiguang-sdk/pom.xml +++ b/jiguang-sdk/pom.xml @@ -7,13 +7,13 @@ io.github.jpush jiguang-sdk-java - 5.0.8 + 5.0.9 ../pom.xml io.github.jpush jiguang-sdk - 5.0.8 + 5.0.9 jar diff --git a/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/device/DeviceSetParam.java b/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/device/DeviceSetParam.java index c90387a..6c7ccce 100644 --- a/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/device/DeviceSetParam.java +++ b/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/device/DeviceSetParam.java @@ -1,5 +1,6 @@ package cn.jiguang.sdk.bean.device; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; @@ -9,20 +10,25 @@ public class DeviceSetParam { @JsonProperty("tags") + @JsonInclude(JsonInclude.Include.NON_NULL) private Tags tags; @JsonProperty("alias") + @JsonInclude(JsonInclude.Include.NON_NULL) private String alias; @JsonProperty("mobile") + @JsonInclude(JsonInclude.Include.NON_NULL) private String mobile; @Data public static class Tags { @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_NULL) private List add; @JsonProperty("remove") + @JsonInclude(JsonInclude.Include.NON_NULL) private List remove; } diff --git a/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/report/ReceivedDetailGetResult.java b/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/report/ReceivedDetailGetResult.java index 2622036..72e30f0 100644 --- a/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/report/ReceivedDetailGetResult.java +++ b/jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/report/ReceivedDetailGetResult.java @@ -29,7 +29,7 @@ public class ReceivedDetailGetResult { @JsonProperty("ios_msg_received") private Long iosMsgReceived; - @JsonProperty("live_acivity_send") + @JsonProperty("live_acivity_sent") private Long liveAcivitySent; @JsonProperty("live_acivity_received") diff --git a/pom.xml b/pom.xml index b01b8a9..022c903 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.jpush jiguang-sdk-java - 5.0.8 + 5.0.9 pom Jiguang SDK For Rest Api