...
|
...
|
@@ -165,9 +165,10 @@ public class UnionServiceImpl implements IUnionService { |
|
|
return new UnionResponse(204, "user not click");
|
|
|
}
|
|
|
|
|
|
|
|
|
//把存储的字符串变为对象
|
|
|
ClickUnionRequestBO click = JSON.parseObject(value, ClickUnionRequestBO.class);
|
|
|
//查询该td在90天内是否已经激活过
|
|
|
UnionLogs union = unionLogsDAO.selectByClientType(request.getClient_type(), request.getIdfa(), request.getImei());
|
|
|
UnionLogs union = unionLogsDAO.selectByClientType(request.getClient_type(), request.getIdfa(), request.getImei(), Byte.valueOf(click.getUnion_type()));
|
|
|
log.info("activateUnion in selectByClientType result is {}", union);
|
|
|
//没有点击记录,则退出
|
|
|
// if (union == null) {
|
...
|
...
|
@@ -181,8 +182,7 @@ public class UnionServiceImpl implements IUnionService { |
|
|
return new UnionResponse(203, "have activite in 90 days");
|
|
|
}
|
|
|
|
|
|
//把存储的字符串变为对象
|
|
|
ClickUnionRequestBO click = JSON.parseObject(value, ClickUnionRequestBO.class);
|
|
|
|
|
|
//UnionTypeModel type = UnionConstant.unionTypeMap.get(Integer.parseInt(click.getUnion_type()));
|
|
|
|
|
|
String url = click.getCallbackurl();
|
...
|
...
|
|