Skip to content

Commit 32fb167

Browse files
author
zhanq
committed
Add msgId field to ApiError and update version to 5.2.4
1 parent b2fff7b commit 32fb167

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-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.2.3版本为例-->
18+
<!--以5.2.4版本为例-->
1919
<dependencies>
2020
<!-- jiguang-sdk -->
2121
<dependency>
2222
<groupId>io.github.jpush</groupId>
2323
<artifactId>jiguang-sdk</artifactId>
24-
<version>5.2.3</version>
24+
<version>5.2.4</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.2.3</version>
16+
<version>5.2.4</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.2.3</version>
29+
<version>5.2.4</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.2.3</version>
10+
<version>5.2.4</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

1414
<artifactId>jiguang-sdk</artifactId>
15-
<version>5.2.3</version>
15+
<version>5.2.4</version>
1616
<packaging>jar</packaging>
1717

1818
<properties>

jiguang-sdk/src/main/java/cn/jiguang/sdk/exception/ApiErrorException.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public ApiErrorException(int status, ApiError apiError) {
2424
@Data
2525
@JsonIgnoreProperties(ignoreUnknown = true)
2626
public static class ApiError implements Serializable {
27+
@JsonProperty("msg_id")
28+
@JsonInclude(JsonInclude.Include.NON_NULL)
29+
private String msgId;
30+
2731
@JsonProperty("error")
2832
private Error error;
2933

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.2.3</version>
9+
<version>5.2.4</version>
1010
<packaging>pom</packaging>
1111

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

0 commit comments

Comments
 (0)