禁用Idfa

master
wjt 1 year ago
parent 31452a3e53
commit 6cae668dfc

@ -104,7 +104,7 @@ public class MobileMonitorCallbackAPI {
equipmentService.saveEquipmentBySource(model, DeliveryPlatformEnum.JL.getType());
}
// 保存数据
filterIdfa(idfa, tag, DeliveryPlatformEnum.JL.getType());
// filterIdfa(idfa, tag, DeliveryPlatformEnum.JL.getType());
// 请求过滤规则,过滤掉不用的数据
if (preRuleForReq(vo)) {
log.error("================================= [not right imei data ,vo json is {} ] =================================", JSONUtil.toJsonStr(vo));
@ -181,7 +181,7 @@ public class MobileMonitorCallbackAPI {
equipmentService.saveEquipmentBySource(deviceInfo, DeliveryPlatformEnum.BD.getType());
}
// 保存数据
filterIdfa(idfa, tag, DeliveryPlatformEnum.BD.getType());
// filterIdfa(idfa, tag, DeliveryPlatformEnum.BD.getType());
// 请求过滤规则,过滤掉不用的数据
if (preRuleForReq(vo)) {
log.error("================================= [not right imei data ,vo json is {} ] =================================", JSONUtil.toJsonStr(vo));
@ -255,7 +255,7 @@ public class MobileMonitorCallbackAPI {
equipmentService.saveEquipmentBySource(model, DeliveryPlatformEnum.UC.getType());
}
// 保存数据
filterIdfa(idfa, tag, DeliveryPlatformEnum.UC.getType());
// filterIdfa(idfa, tag, DeliveryPlatformEnum.UC.getType());
// 请求过滤规则,过滤掉不用的数据
if (preRuleForReq(vo)) {
log.error("================================= [not right imei data ,vo json is {} ] =================================", JSONUtil.toJsonStr(vo));
@ -329,7 +329,7 @@ public class MobileMonitorCallbackAPI {
equipmentService.saveEquipmentBySource(model, DeliveryPlatformEnum.KS.getType());
}
// 保存数据
filterIdfa(idfa, tag, DeliveryPlatformEnum.KS.getType());
// filterIdfa(idfa, tag, DeliveryPlatformEnum.KS.getType());
// 请求过滤规则,过滤掉不用的数据
if (preRuleForReq(vo)) {
log.error("================================= [not right imei data ,vo json is {} ] =================================", JSONUtil.toJsonStr(vo));
@ -509,7 +509,7 @@ public class MobileMonitorCallbackAPI {
if (IOS.equalsIgnoreCase(deviceOsType)
&& !CharSequenceUtil.equalsIgnoreCase(MUID, muid)) {
// 保存数据
filterIdfa(muid, tag, DeliveryPlatformEnum.GD.getType());
// filterIdfa(muid, tag, DeliveryPlatformEnum.GD.getType());
}
Set<String> modeByResource =
equipmentService.queryModeByResource(DeliveryPlatformEnum.GD.getType());
@ -569,8 +569,8 @@ public class MobileMonitorCallbackAPI {
// 保存数据
if (StringUtils.isNotBlank(idfa)
&& !CharSequenceUtil.equalsIgnoreCase(IMEI_NULL_TAG, idfa)
&& !CharSequenceUtil.equalsIgnoreCase(IDFA_NUM, idfa)
&& !CharSequenceUtil.equalsIgnoreCase(IDFA_STR, idfa)) {
&& !CharSequenceUtil.equalsIgnoreCase(IDFA_NUM, idfa)
&& !CharSequenceUtil.equalsIgnoreCase(IDFA_STR, idfa)) {
idfaService.saveData(idfa, tag, type);
}
}

Loading…
Cancel
Save