如果没有配置鸿蒙推送地址,不应该回落到Android,避免对android造成影响

This commit is contained in:
heavyrian2012
2024-09-18 13:01:49 +08:00
parent f1298a51ae
commit bf22b365a8
3 changed files with 2 additions and 5 deletions
@@ -60,9 +60,6 @@ public class PushServer {
this.androidPushServerUrl = config.getProperty(PUSH_ANDROID_SERVER_ADDRESS);
this.iOSPushServerUrl = config.getProperty(PUSH_IOS_SERVER_ADDRESS);
this.harmonyPushServerUrl = config.getProperty(PUSH_HARMONY_SERVER_ADDRESS);
if(StringUtil.isNullOrEmpty(harmonyPushServerUrl)) {
harmonyPushServerUrl = androidPushServerUrl;
}
}
public void pushMessage(PushMessage pushMessage, String deviceId, String pushContent) {