|
@@ -24,19 +24,19 @@ import com.keao.edu.util.http.HttpUtil;
|
|
|
@Service
|
|
|
public class JiguangPushPlugin implements MessageSenderPlugin, InitializingBean {
|
|
|
|
|
|
- @Value("${push.jiguang.appKey.student}")
|
|
|
+ @Value("${push.jiguang.appKey.student:1}")
|
|
|
private String studentAppKey;
|
|
|
- @Value("${push.jiguang.masterSecret.student}")
|
|
|
+ @Value("${push.jiguang.masterSecret.student:1}")
|
|
|
private String studentMasterSecret;
|
|
|
|
|
|
- @Value("${push.jiguang.appKey.teacher}")
|
|
|
+ @Value("${push.jiguang.appKey.teacher:1}")
|
|
|
private String teacherAppKey;
|
|
|
- @Value("${push.jiguang.masterSecret.teacher}")
|
|
|
+ @Value("${push.jiguang.masterSecret.teacher:1}")
|
|
|
private String teacherMasterSecret;
|
|
|
|
|
|
- @Value("${push.jiguang.appKey.system}")
|
|
|
+ @Value("${push.jiguang.appKey.system:1}")
|
|
|
private String systemAppKey;
|
|
|
- @Value("${push.jiguang.masterSecret.system}")
|
|
|
+ @Value("${push.jiguang.masterSecret.system:1}")
|
|
|
private String systemMasterSecret;
|
|
|
|
|
|
@Value("${push.jiguang.apns_production:false}")
|