|
@@ -418,30 +418,6 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher |
|
@@ -418,30 +418,6 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher |
418
|
//判断90天内是否在大数据有记录
|
418
|
//判断90天内是否在大数据有记录
|
419
|
if (CollectionUtils.isNotEmpty(_90DayIdfaList)) {
|
419
|
if (CollectionUtils.isNotEmpty(_90DayIdfaList)) {
|
420
|
log.warn("ios activateUnion error because 90 days has activate in bigdata database info with param is {}", request);
|
420
|
log.warn("ios activateUnion error because 90 days has activate in bigdata database info with param is {}", request);
|
421
|
-
|
|
|
422
|
-// //判断15天内是否在大数据有记录
|
|
|
423
|
-// if (CollectionUtils.isNotEmpty(_15DayIdfaList)) {
|
|
|
424
|
-// //15天内有记录,退出
|
|
|
425
|
-// log.warn("activateUnion error because 15 days has activate in bigdata database info with param is {}", request);
|
|
|
426
|
-// } else {
|
|
|
427
|
-// //根据mkt_markering
|
|
|
428
|
-// //15天内没有记录,则记录大数据日志,退出
|
|
|
429
|
-// JSONObject j = new JSONObject();
|
|
|
430
|
-// j.put("apptype", request.getClient_type());
|
|
|
431
|
-// j.put("appid", click.getAppid());
|
|
|
432
|
-// j.put("idfa", request.getIdfa());
|
|
|
433
|
-// j.put("imei", request.getImei());
|
|
|
434
|
-// j.put("udid", request.getUdid());
|
|
|
435
|
-// j.put("dateid", DateUtil.getcurrentDateTime());
|
|
|
436
|
-// j.put("source", u == null ? "" : u.getName());
|
|
|
437
|
-// j.put("source_id",click.getUnion_type());
|
|
|
438
|
-// j.put("ip", request.getClientIp());
|
|
|
439
|
-// j.put("collect_ip", "");
|
|
|
440
|
-// j.put("app_key", request.getAppkey());
|
|
|
441
|
-// j.put("active_type", "15");
|
|
|
442
|
-// j.put("tdid", request.getTdid());
|
|
|
443
|
-// activeDingdang.info(j.toString());
|
|
|
444
|
-// }
|
|
|
445
|
return new UnionResponse(200, "have activite in 90 days",result);
|
421
|
return new UnionResponse(200, "have activite in 90 days",result);
|
446
|
}
|
422
|
}
|
447
|
}
|
423
|
}
|
|
@@ -516,10 +492,6 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher |
|
@@ -516,10 +492,6 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher |
516
|
//打印90天的大数据日志
|
492
|
//打印90天的大数据日志
|
517
|
activeDingdang.info(j.toString());
|
493
|
activeDingdang.info(j.toString());
|
518
|
|
494
|
|
519
|
- j.put("active_type", "15");
|
|
|
520
|
- //打印15天的大数据日志
|
|
|
521
|
- activeDingdang.info(j.toString());
|
|
|
522
|
-
|
|
|
523
|
String source = u == null ? "" : u.getName();
|
495
|
String source = u == null ? "" : u.getName();
|
524
|
String source_id = click.getUnion_type();
|
496
|
String source_id = click.getUnion_type();
|
525
|
String muid = "" ;
|
497
|
String muid = "" ;
|