Showing
1 changed file
with
5 additions
and
5 deletions
@@ -110,7 +110,7 @@ public class ZhihuituiServiceImpl extends UnionServiceImpl implements IUnionServ | @@ -110,7 +110,7 @@ public class ZhihuituiServiceImpl extends UnionServiceImpl implements IUnionServ | ||
110 | //IMEI 号 | 110 | //IMEI 号 |
111 | muid4MD5 = requestBO.getImei(); | 111 | muid4MD5 = requestBO.getImei(); |
112 | } | 112 | } |
113 | - | 113 | + String md5 = MD5.md5(muid4MD5); |
114 | String client_ip = requestBO.getClientIp(); | 114 | String client_ip = requestBO.getClientIp(); |
115 | String appId = requestBO.getAppid(); | 115 | String appId = requestBO.getAppid(); |
116 | int conv_time = DateUtil.getCurrentTimeSecond(); | 116 | int conv_time = DateUtil.getCurrentTimeSecond(); |
@@ -119,11 +119,11 @@ public class ZhihuituiServiceImpl extends UnionServiceImpl implements IUnionServ | @@ -119,11 +119,11 @@ public class ZhihuituiServiceImpl extends UnionServiceImpl implements IUnionServ | ||
119 | StringBuffer bf = new StringBuffer(); | 119 | StringBuffer bf = new StringBuffer(); |
120 | StringBuffer sf = new StringBuffer(); | 120 | StringBuffer sf = new StringBuffer(); |
121 | if (StringUtils.isEmpty(client_ip)){ | 121 | if (StringUtils.isEmpty(client_ip)){ |
122 | - page = bf.append(url).append(appId).append("/conv?muid=").append(muid4MD5).append("&conv_time=").append(conv_time).toString(); | ||
123 | - query_string = sf.append("muid=").append(muid4MD5).append("&conv_time=").append(conv_time).toString(); | 122 | + page = bf.append(url).append(appId).append("/conv?muid=").append(md5).append("&conv_time=").append(conv_time).toString(); |
123 | + query_string = sf.append("muid=").append(md5).append("&conv_time=").append(conv_time).toString(); | ||
124 | }else{ | 124 | }else{ |
125 | - page = bf.append(url).append(appId).append("/conv?muid=").append(muid4MD5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString(); | ||
126 | - query_string = sf.append("muid=").append(muid4MD5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString(); | 125 | + page = bf.append(url).append(appId).append("/conv?muid=").append(md5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString(); |
126 | + query_string = sf.append("muid=").append(md5).append("&conv_time=").append(conv_time).append("&client_ip=").append(client_ip).toString(); | ||
127 | } | 127 | } |
128 | // 对url进行加密 | 128 | // 对url进行加密 |
129 | String encode_page = null; | 129 | String encode_page = null; |
-
Please register or login to post a comment