REQ-3284: 设置PUSH的app版本
This commit is contained in:
parent
b756c56234
commit
5fddd93f9c
@ -87,6 +87,7 @@ public class PushDeviceService {
|
||||
if (configuredVersion == null || configuredVersion <= 0 || deviceVersion <= 0)
|
||||
return ambiguity.get();
|
||||
|
||||
// 分开写, 好理解一些
|
||||
if (pushChannel == PushChannel.NIM)
|
||||
return deviceVersion >= configuredVersion;
|
||||
if (pushChannel == PushChannel.YOU_MENG)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user