|
@@ -21,10 +21,10 @@ import com.ym.mec.util.http.HttpUtil;
|
|
@Service
|
|
@Service
|
|
public class JiguangPushPlugin implements MessageSenderPlugin, InitializingBean {
|
|
public class JiguangPushPlugin implements MessageSenderPlugin, InitializingBean {
|
|
|
|
|
|
- @Value("${push.jiguang.appKey:1}")
|
|
|
|
|
|
+ @Value("${push.jiguang.appKey:0e7422e1d6e73637e678716a}")
|
|
private String appKey;
|
|
private String appKey;
|
|
|
|
|
|
- @Value("${push.jiguang.masterSecret:1}")
|
|
|
|
|
|
+ @Value("${push.jiguang.masterSecret:c2361016604eab56ab2db2ac}")
|
|
private String masterSecret;
|
|
private String masterSecret;
|
|
|
|
|
|
@Value("${push.jiguang.apns_production:false}")
|
|
@Value("${push.jiguang.apns_production:false}")
|
|
@@ -33,7 +33,7 @@ public class JiguangPushPlugin implements MessageSenderPlugin, InitializingBean
|
|
@Value("${push.jiguang.time_to_live:86400}")
|
|
@Value("${push.jiguang.time_to_live:86400}")
|
|
private int time_to_live; // 离线保留时长 秒为单位 默认1天 最大10天
|
|
private int time_to_live; // 离线保留时长 秒为单位 默认1天 最大10天
|
|
|
|
|
|
- @Value("${push.jiguang.reqURL:1}")
|
|
|
|
|
|
+ @Value("${push.jiguang.reqURL:https://api.jpush.cn/v3/push}")
|
|
private String reqURL;// 请求极光地址
|
|
private String reqURL;// 请求极光地址
|
|
|
|
|
|
public static String getName() {
|
|
public static String getName() {
|