Showing
1 changed file
with
1 additions
and
1 deletions
@@ -198,12 +198,12 @@ public class ClickUnionRest { | @@ -198,12 +198,12 @@ public class ClickUnionRest { | ||
198 | bo.setClient_type("android"); | 198 | bo.setClient_type("android"); |
199 | bo.setAppid("com.yoho"); | 199 | bo.setAppid("com.yoho"); |
200 | String agent = request.getHeader("user-agent"); | 200 | String agent = request.getHeader("user-agent"); |
201 | + log.info("addUnion4Stream user-agent={}", agent); | ||
201 | if(StringUtils.isBlank(agent)){ | 202 | if(StringUtils.isBlank(agent)){ |
202 | return; | 203 | return; |
203 | } | 204 | } |
204 | agent = agent.toLowerCase(); | 205 | agent = agent.toLowerCase(); |
205 | bo.setUserAgent(agent); | 206 | bo.setUserAgent(agent); |
206 | - log.info("addUnion4Stream user-agent={}", agent); | ||
207 | String url = "http://cdn.yoho.cn/app-downfiles/yohoBuy_YOHO_2953.apk"; | 207 | String url = "http://cdn.yoho.cn/app-downfiles/yohoBuy_YOHO_2953.apk"; |
208 | try { | 208 | try { |
209 | if (!StringUtils.isEmpty(agent)) { | 209 | if (!StringUtils.isEmpty(agent)) { |
-
Please register or login to post a comment