Showing
1 changed file
with
1 additions
and
1 deletions
@@ -78,7 +78,7 @@ public class ActivateUnionRest { | @@ -78,7 +78,7 @@ public class ActivateUnionRest { | ||
78 | vo.setClient_type(ClientTypeEnum.IOS.getName()); | 78 | vo.setClient_type(ClientTypeEnum.IOS.getName()); |
79 | } | 79 | } |
80 | String agent = request.getHeader("user-agent"); | 80 | String agent = request.getHeader("user-agent"); |
81 | - if(StringUtils.isEmpty(agent)){ | 81 | + if(StringUtils.isEmpty(agent) && StringUtils.isEmpty(vo.getTd())){ |
82 | log.warn("activateUnion failed. user-agent is null. agent is {}, request vo is {}", agent, vo); | 82 | log.warn("activateUnion failed. user-agent is null. agent is {}, request vo is {}", agent, vo); |
83 | return new UnionResponse(200,"success","user-agent is null"); | 83 | return new UnionResponse(200,"success","user-agent is null"); |
84 | } | 84 | } |
-
Please register or login to post a comment