Authored by DengXinFei

修复默认启动app,落地页问题 --review by 邓新飞

... ... @@ -535,7 +535,7 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher
String landingUrl = mktMarketingUrl.getLandingPageUrl();
activeUnion.info("get landing_page_url. mktMarketingUrl is {}, landingUrl is {}, invitecodeValue ={}", mktMarketingUrl, landingUrl, click.getInvite_code());
if(StringUtils.isNotEmpty(landingUrl) && StringUtils.isNotEmpty(click.getInvite_code())){
landingUrl = (String)result.replace("invitecodeValue", click.getInvite_code());
landingUrl = landingUrl.replace("invitecodeValue", click.getInvite_code());
}
result.put("landing_page_url", StringUtils.isEmpty(landingUrl) ? "" : mktMarketingUrl.getLandingPageUrl());
activeUnion.info("active union. union_type = {}, landing_page_url = {}, result = {}, idfa = {}, imei = {}", click.getUnion_type(), landingUrl, result, request.getIdfa(), request.getImei());
... ...