Skip to content

Commit 88b23e2

Browse files
author
zengzhiwu
committed
update push api url
1 parent 21f3f53 commit 88b23e2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/jpush-api-v2.0.3.jar

26.2 KB
Binary file not shown.

src/cn/jpush/api/BaseURL.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ public class BaseURL {
55
public static String HOST_NAME_SSL = "https://api.jpush.cn:443";
66
public static String HOST_NAME = "http://api.jpush.cn:8800";
77

8-
protected static final String ALL_PATH = "/sendmsg/v2/sendmsg"; //全功能,发送地址
9-
protected static final String SIMPLE_CUSTOM_PATH = "/sendmsg/v2/custom_message"; //简易接口,自定义消息
10-
protected static final String SIMPLE_NOTIFICATION_PATH = "/sendmsg/v2/notification"; //简易接口,自定义通知
8+
protected static final String ALL_PATH = "/v2/push"; //全功能接口
9+
protected static final String SIMPLE_CUSTOM_PATH = "/v2/custom_message"; //简易接口,自定义消息
10+
protected static final String SIMPLE_NOTIFICATION_PATH = "/v2/notification"; //简易接口,自定义通知
1111

1212
private static String getHostname(boolean enableSSL) {
1313
return enableSSL? HOST_NAME_SSL :HOST_NAME;

0 commit comments

Comments
 (0)