|
@ -108,7 +108,7 @@ public class GetuiUtil {
|
|
|
// System.out.println("个推推送失败:code:" + apiResult.getCode() + ", msg: " + apiResult.getMsg());
|
|
|
// }
|
|
|
// String cid = "d2fee750dcdf7a2567444b1d4f629305";
|
|
|
String cid = "d0e395d2e04b1da6f45a4f700883297d";
|
|
|
String cid = "a7fff64dd3dfd12ee43a1b94f3266cfa";
|
|
|
String title = "ios11:49标题";
|
|
|
String body = "安卓离线展示的内容";
|
|
|
String url = "https://www.baidu.com/";
|
|
@ -125,7 +125,7 @@ public class GetuiUtil {
|
|
|
// json.put("clickType","url");
|
|
|
json.put("platform",cloudCareDoctor);
|
|
|
json.put("payload",payload.toString());
|
|
|
|
|
|
String str = "{\"payload\":\"{\\\"title\\\":\\\"安防紧急预警\\\",\\\"body\\\":\\\"您好,张民居民发起紧急呼叫,请关注并及时处理。\\\",\\\"url\\\":\\\"/sos/index?tabActive=1\\\"}\",\"title\":\"安防紧急预警\",\"body\":\"您好,张民居民发起紧急呼叫,请关注并及时处理。\",\"url\":\"/sos/index?tabActive=1\",\"platform\":\"com.zjxl.medicalcare.doctor\"}";
|
|
|
push2(cid,1,json);
|
|
|
}
|
|
|
|