Showing
1 changed file
with
3 additions
and
2 deletions
@@ -215,7 +215,7 @@ public class UnionServiceImpl implements IUnionService { | @@ -215,7 +215,7 @@ public class UnionServiceImpl implements IUnionService { | ||
215 | } else { | 215 | } else { |
216 | url += "&imei=" + click.getImei(); | 216 | url += "&imei=" + click.getImei(); |
217 | } | 217 | } |
218 | - | 218 | + log.info("activateUnion in call url={}", url); |
219 | // 调用接口发送短信请求 | 219 | // 调用接口发送短信请求 |
220 | AsyncFuture<String> response = service.get("union.activate", url, null, String.class, null); | 220 | AsyncFuture<String> response = service.get("union.activate", url, null, String.class, null); |
221 | String result = response.get(); | 221 | String result = response.get(); |
@@ -224,7 +224,6 @@ public class UnionServiceImpl implements IUnionService { | @@ -224,7 +224,6 @@ public class UnionServiceImpl implements IUnionService { | ||
224 | log.error("callback error with request={}", request, e); | 224 | log.error("callback error with request={}", request, e); |
225 | } | 225 | } |
226 | } | 226 | } |
227 | - | ||
228 | // 调用成功,更新数据库 | 227 | // 调用成功,更新数据库 |
229 | UnionLogs logs = new UnionLogs(); | 228 | UnionLogs logs = new UnionLogs(); |
230 | logs.setAppId(click.getAppid()); | 229 | logs.setAppId(click.getAppid()); |
@@ -240,6 +239,7 @@ public class UnionServiceImpl implements IUnionService { | @@ -240,6 +239,7 @@ public class UnionServiceImpl implements IUnionService { | ||
240 | logs.setAddParams(value); | 239 | logs.setAddParams(value); |
241 | logs.setTd(request.getTd()); | 240 | logs.setTd(request.getTd()); |
242 | unionLogsDAO.insert(logs); | 241 | unionLogsDAO.insert(logs); |
242 | + log.info("activateUnion add db success with request is {}, and dbData={}", request, logs); | ||
243 | 243 | ||
244 | UnionTypeModel u = UnionConstant.unionTypeMap.get(Integer.parseInt(click.getUnion_type())); | 244 | UnionTypeModel u = UnionConstant.unionTypeMap.get(Integer.parseInt(click.getUnion_type())); |
245 | // 记录日志 | 245 | // 记录日志 |
@@ -254,6 +254,7 @@ public class UnionServiceImpl implements IUnionService { | @@ -254,6 +254,7 @@ public class UnionServiceImpl implements IUnionService { | ||
254 | j.put("ip", request.getClientIp()); | 254 | j.put("ip", request.getClientIp()); |
255 | j.put("collect_ip", ""); | 255 | j.put("collect_ip", ""); |
256 | activeDingdang.info(j.toString()); | 256 | activeDingdang.info(j.toString()); |
257 | + log.info("activateUnion in success request is {}", request); | ||
257 | return new UnionResponse(); | 258 | return new UnionResponse(); |
258 | 259 | ||
259 | } catch (Exception e) { | 260 | } catch (Exception e) { |
-
Please register or login to post a comment