Authored by zhengwen.ge

update

... ... @@ -110,7 +110,7 @@ public class ZhihuituiServiceImpl extends UnionServiceImpl implements IUnionServ
//IMEI 号
muid4MD5 = requestBO.getImei();
}
String md5 = MD5.md5(muid4MD5);
String client_ip = requestBO.getClientIp();
String appId = requestBO.getAppid();
int conv_time = DateUtil.getCurrentTimeSecond();
... ... @@ -119,11 +119,11 @@ public class ZhihuituiServiceImpl extends UnionServiceImpl implements IUnionServ
StringBuffer bf = new StringBuffer();
StringBuffer sf = new StringBuffer();
if (StringUtils.isEmpty(client_ip)){
page = bf.append(url).append(appId).append("/conv?muid=").append(muid4MD5).append("&conv_time=").append(conv_time).toString();
query_string = sf.append("muid=").append(muid4MD5).append("&conv_time=").append(conv_time).toString();
page = bf.append(url).append(appId).append("/conv?muid=").append(md5).append("&conv_time=").append(conv_time).toString();
query_string = sf.append("muid=").append(md5).append("&conv_time=").append(conv_time).toString();
}else{
page = bf.append(url).append(appId).append("/conv?muid=").append(muid4MD5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString();
query_string = sf.append("muid=").append(muid4MD5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString();
page = bf.append(url).append(appId).append("/conv?muid=").append(md5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString();
query_string = sf.append("muid=").append(md5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString();
}
// 对url进行加密
String encode_page = null;
... ...