Skip to content

Commit 93ba325

Browse files
author
zhanq
committed
support batch push notification_3rd, update version to 5.1.17.
1 parent 36d09b7 commit 93ba325

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
## 1. 集成
1616
引入sdk包
1717
```xml
18-
<!--以5.1.16版本为例-->
18+
<!--以5.1.17版本为例-->
1919
<dependencies>
2020
<!-- jiguang-sdk -->
2121
<dependency>
2222
<groupId>io.github.jpush</groupId>
2323
<artifactId>jiguang-sdk</artifactId>
24-
<version>5.1.16</version>
24+
<version>5.1.17</version>
2525
</dependency>
2626
</dependencies>
2727
```

example-for-spring/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<groupId>io.github.jpush</groupId>
1515
<artifactId>example-for-spring</artifactId>
16-
<version>5.1.16</version>
16+
<version>5.1.17</version>
1717

1818
<properties>
1919
<maven.compiler.source>8</maven.compiler.source>
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>io.github.jpush</groupId>
2828
<artifactId>jiguang-sdk</artifactId>
29-
<version>5.1.16</version>
29+
<version>5.1.17</version>
3030
</dependency>
3131
<!-- lombok -->
3232
<dependency>

jiguang-sdk/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<groupId>io.github.jpush</groupId>
99
<artifactId>jiguang-sdk-java</artifactId>
10-
<version>5.1.16</version>
10+
<version>5.1.17</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

1414
<artifactId>jiguang-sdk</artifactId>
15-
<version>5.1.16</version>
15+
<version>5.1.17</version>
1616
<packaging>jar</packaging>
1717

1818
<properties>

jiguang-sdk/src/main/java/cn/jiguang/sdk/bean/push/batch/BatchPushParam.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import cn.jiguang.sdk.bean.push.callback.Callback;
44
import cn.jiguang.sdk.bean.push.message.custom.CustomMessage;
55
import cn.jiguang.sdk.bean.push.message.notification.NotificationMessage;
6+
import cn.jiguang.sdk.bean.push.message.notification.ThirdNotificationMessage;
67
import cn.jiguang.sdk.bean.push.message.sms.SmsMessage;
78
import cn.jiguang.sdk.bean.push.options.Options;
89
import cn.jiguang.sdk.enums.platform.Platform;
@@ -47,4 +48,12 @@ public class BatchPushParam {
4748
@JsonInclude(JsonInclude.Include.NON_NULL)
4849
private Callback callback;
4950

51+
/**
52+
* 自定义消息转厂商通知内容体。
53+
* 与 message 一起使用。
54+
*/
55+
@JsonProperty("notification_3rd")
56+
@JsonInclude(JsonInclude.Include.NON_NULL)
57+
private ThirdNotificationMessage thirdNotificationMessage;
58+
5059
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.jpush</groupId>
88
<artifactId>jiguang-sdk-java</artifactId>
9-
<version>5.1.16</version>
9+
<version>5.1.17</version>
1010
<packaging>pom</packaging>
1111

1212
<name>Jiguang SDK For Rest Api</name>

0 commit comments

Comments
 (0)