Authored by mingdan.ge

Merge branch 'master' into dev_cps_icard_190613

... ... @@ -33,6 +33,7 @@ public class SendMessageHelper {
try {
MessageCenterEvent centerEvent = new MessageCenterEvent();
centerEvent.setBusinessLine("yohobuy");
centerEvent.setSecurityKey("1a15a75d-b30f-4d74-a791-d654647a8c77");
centerEvent.setUserType("UID");
centerEvent.setUserList(Arrays.asList(Integer.toString(uid)));
JSONObject params = new JSONObject();
... ...
... ... @@ -236,6 +236,9 @@ public class GDT2019ServiceImpl extends UnionServiceImpl implements IUnionServic
if (type == 1) {
//次日留存 START_APP 用户激活后第二天打开APP的行为
action.put("action_type", "START_APP");
JSONObject actionParam = new JSONObject();
actionParam.put("length_of_stay",1);
action.put("action_param", actionParam);
}
actions.add(action);
params.put("actions", actions);
... ...
... ... @@ -301,7 +301,7 @@ public class UnionServiceImpl implements IUnionService, IBusinessExportService,
String okey = CL_KEY + dateStr+ "_" + request.getUdid();
String ovalue = redisValueCache.get(okey,String.class);
if (StringUtils.isNotBlank(ovalue)){
activeUnion.info(" activateUnion get redis with okey={}, ovalue= {}.",ovalue);
activeUnion.info(" activateUnion get redis with okey={}, ovalue= {}.",okey,ovalue);
redisTemplate.delete(okey);
ClickUnionRequestBO oclick = JSON.parseObject(ovalue, ClickUnionRequestBO.class);
String union_type = oclick.getUnion_type();
... ...