如果没有配置鸿蒙推送地址,不应该回落到Android,避免对android造成影响
This commit is contained in:
@@ -341,7 +341,7 @@ push.android.server.address http://localhost:8085/android/push
|
|||||||
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
||||||
push.ios.server.address http://localhost:8085/ios/push
|
push.ios.server.address http://localhost:8085/ios/push
|
||||||
|
|
||||||
##鸿蒙推送服务器地址,如果不配置会使用android的地址。
|
##鸿蒙推送服务器地址
|
||||||
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
||||||
push.harmony.server.address http://localhost:8085/harmony/push
|
push.harmony.server.address http://localhost:8085/harmony/push
|
||||||
|
|
||||||
|
|||||||
@@ -60,9 +60,6 @@ public class PushServer {
|
|||||||
this.androidPushServerUrl = config.getProperty(PUSH_ANDROID_SERVER_ADDRESS);
|
this.androidPushServerUrl = config.getProperty(PUSH_ANDROID_SERVER_ADDRESS);
|
||||||
this.iOSPushServerUrl = config.getProperty(PUSH_IOS_SERVER_ADDRESS);
|
this.iOSPushServerUrl = config.getProperty(PUSH_IOS_SERVER_ADDRESS);
|
||||||
this.harmonyPushServerUrl = config.getProperty(PUSH_HARMONY_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) {
|
public void pushMessage(PushMessage pushMessage, String deviceId, String pushContent) {
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ push.android.server.address http://localhost:8085/android/push
|
|||||||
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
||||||
push.ios.server.address http://localhost:8085/ios/push
|
push.ios.server.address http://localhost:8085/ios/push
|
||||||
|
|
||||||
##鸿蒙推送服务器地址,如果不配置会使用android的地址。
|
##鸿蒙推送服务器地址
|
||||||
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
##注意回调是单线程回调,接收服务必须在同一内网,且异步处理快速返回,否则会有延迟问题!!
|
||||||
push.harmony.server.address http://localhost:8085/harmony/push
|
push.harmony.server.address http://localhost:8085/harmony/push
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user