REQ-3284: 设置PUSH的app版本

This commit is contained in:
yanglin 2024-12-04 11:23:20 +08:00
parent b756c56234
commit 5fddd93f9c

View File

@ -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)