Authored by iknitting

百度参数

... ... @@ -24,6 +24,9 @@ public class CommonJumpReqVO {
// PC WAP链接 使用的共通参数
private String union_data;
// 开启百度ocpc后,自动追加在链接中的,用于统计开启百度ocpc后的效果
private String bd_vid;
public String getUnion_data() {
return union_data;
}
... ... @@ -96,6 +99,13 @@ public class CommonJumpReqVO {
this.union_type = union_type;
}
public String getBd_vid() {
return bd_vid;
}
public void setBd_vid(String bd_vid) {
this.bd_vid = bd_vid;
}
@Override
public String toString() {
... ... @@ -109,6 +119,7 @@ public class CommonJumpReqVO {
", utm_campaign='" + utm_campaign + '\'' +
", u_id='" + u_id + '\'' +
", union_data='" + union_data + '\'' +
", bd_vid='" + bd_vid + '\'' +
'}';
}
}
... ...
... ... @@ -184,7 +184,9 @@ public class RedirectServiceImpl implements IRedirectService {
}else {
targetUrl.append("?union_type=").append(commonJumpReqVO.getUnion_type());
}
if(StringUtils.isNotEmpty(commonJumpReqVO.getBd_vid())){
targetUrl.append("&bd_vid=").append(commonJumpReqVO.getBd_vid());
}
logger.info("builderCommonUrl url is {}", targetUrl.toString());
return targetUrl.toString();
}
... ...