Skip to content

Commit 936608b

Browse files
committed
modify MessagesResult add custom click
1 parent d521e5f commit 936608b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/cn/jpush/api/common/resp/ResponseWrapper.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
import org.slf4j.Logger;
1010
import org.slf4j.LoggerFactory;
1111

12-
import java.util.Scanner;
13-
1412
public class ResponseWrapper {
1513
private static final Logger LOG = LoggerFactory.getLogger(ResponseWrapper.class);
1614
private static final int RESPONSE_CODE_NONE = -1;

src/main/java/cn/jpush/api/report/MessagesResult.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,16 @@ public static class Android {
2626
@Expose public int target;
2727
@Expose public int online_push;
2828
@Expose public int click;
29+
@Expose public int msg_click;
2930
}
3031

3132
public static class Ios {
3233
@Expose public int apns_sent;
3334
@Expose public int apns_target;
3435
@Expose public int click;
36+
@Expose public int target;
37+
@Expose public int received;
38+
@Expose public int msg_click;
3539
}
3640

3741
static MessagesResult fromResponse(ResponseWrapper responseWrapper) {

0 commit comments

Comments
 (0)