Skip to content

Commit 657138c

Browse files
author
许丹侠
committed
新增地址配置
1 parent 4a1b4c7 commit 657138c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/cn/jiguang/common/ClientConfig.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ public class ClientConfig extends HashMap<String, Object> {
3737
public static final String REPORT_RECEIVE_PATH = "report.receive.path";
3838
public static final Object REPORT_RECEIVE_PATH_SCHEMA = String.class;
3939

40+
public static final String REPORT_RECEIVE_DETAIL_PATH = "report.receive.detail.path";
41+
public static final Object REPORT_RECEIVE_DETAIL_PATH_SCHEMA = String.class;
42+
43+
public static final String REPORT_MESSAGE_DETAIL_PATH = "report.message.detail.path";
44+
public static final Object REPORT_MESSAGE_DETAIL_PATH_SCHEMA = String.class;
45+
4046
public static final String REPORT_USER_PATH = "report.user.path";
4147
public static final Object REPORT_USER_PATH_SCHEMA = String.class;
4248

@@ -128,6 +134,9 @@ private ClientConfig() {
128134

129135
this.put(REPORT_HOST_NAME, "https://report.jpush.cn");
130136
this.put(REPORT_RECEIVE_PATH, "/v3/received");
137+
this.put(REPORT_RECEIVE_DETAIL_PATH, "/v3/received/detail");
138+
this.put(REPORT_MESSAGE_DETAIL_PATH, "/v3/messages/detail");
139+
131140
this.put(REPORT_USER_PATH, "/v3/users");
132141
this.put(REPORT_MESSAGE_PATH, "/v3/messages");
133142
this.put(REPORT_STATUS_PATH, "/v3/status");

0 commit comments

Comments
 (0)