| | |
| | | versionCodeList = appVersionService.listVersionCodeByVersions("android", listAndroid, system); |
| | | } |
| | | try { |
| | | newPush(system, uidList, versionCodeList, null, title, content, NewPushExtraParamsFactory.createBaichuan(jumpDetailV2Service.getByTypeCache("system_msg", system), url)); |
| | | newPush(system, uidList, versionCodeList, null, title, content, NewPushExtraParamsFactory.createBaichuan(jumpDetailV2Service.getByTypeCache("baichuan", system), url)); |
| | | } catch (BPushTaskException e) { |
| | | logger.error("推送-百川:{}", url, e); |
| | | } |
| | |
| | | |
| | | logger.debug("新版推送开始:title-{} content-{}", new Object[]{title, content}); |
| | | //灰度测试 |
| | | if (uidList == null || uidList.size() == 0 || uidList.size() > 1) |
| | | return; |
| | | Set<Long> uidSet = new HashSet<>(); |
| | | uidSet.add(6857703L); |
| | | uidSet.add(6845887L); |
| | | |
| | | if (!uidSet.contains(uidList.get(0))) { |
| | | return; |
| | | } |
| | | |
| | | logger.debug("新版推送灰度测试开始:title-{} content-{}", new Object[]{title, content}); |
| | | // if (uidList == null || uidList.size() == 0 || uidList.size() > 1) |
| | | // return; |
| | | |
| | | |
| | | BPushFilter filter = new BPushFilter(); |