1.在修复关注后进行绑定的地方添加日志
Showing
1 changed file
with
7 additions
and
1 deletions
... | @@ -401,6 +401,8 @@ public class UserOperationController { | ... | @@ -401,6 +401,8 @@ public class UserOperationController { |
401 | // redis中的大小屏信息 | 401 | // redis中的大小屏信息 |
402 | String content = (String) this.redisUtils.get(RedisKeyUtil.genSeSuSubscribeKey(unionid)); | 402 | String content = (String) this.redisUtils.get(RedisKeyUtil.genSeSuSubscribeKey(unionid)); |
403 | JSONObject iptvUserInfo = JSONObject.parseObject(content); | 403 | JSONObject iptvUserInfo = JSONObject.parseObject(content); |
404 | // redis中的大小屏信息 | ||
405 | log.info("saveUserInfo ==> redis content iptvUserInfo ==> [{}]",iptvUserInfo); | ||
404 | 406 | ||
405 | // 大屏账户 | 407 | // 大屏账户 |
406 | String platformAccount = iptvUserInfo.getString("platformAccount"); | 408 | String platformAccount = iptvUserInfo.getString("platformAccount"); |
... | @@ -423,7 +425,8 @@ public class UserOperationController { | ... | @@ -423,7 +425,8 @@ public class UserOperationController { |
423 | e.printStackTrace(); | 425 | e.printStackTrace(); |
424 | } | 426 | } |
425 | 427 | ||
426 | // 大小屏绑定 | 428 | // 大小屏绑定,如果已经绑定了别的大屏,则不进行处理,返回已绑定的大屏信息 |
429 | // 已绑定的大屏信息 | ||
427 | UserTvDTO userTvDTO = this.userOperationService.bind(memberDTO, platformAccount); | 430 | UserTvDTO userTvDTO = this.userOperationService.bind(memberDTO, platformAccount); |
428 | if (userTvDTO != null) { | 431 | if (userTvDTO != null) { |
429 | platformAccount1 = userTvDTO.getPlatformAccount(); | 432 | platformAccount1 = userTvDTO.getPlatformAccount(); |
... | @@ -435,7 +438,10 @@ public class UserOperationController { | ... | @@ -435,7 +438,10 @@ public class UserOperationController { |
435 | resultList.add(result); | 438 | resultList.add(result); |
436 | resultList.add(platformAccount1); | 439 | resultList.add(platformAccount1); |
437 | 440 | ||
441 | // return ["subscribe","platform_account"] | ||
438 | ResultInfo<Object> success = ResultInfo.success(resultList); | 442 | ResultInfo<Object> success = ResultInfo.success(resultList); |
443 | |||
444 | log.info("saveUserInfo ==> ResultInfo ==> [{}]",success); | ||
439 | return success; | 445 | return success; |
440 | } | 446 | } |
441 | 447 | ... | ... |
-
Please register or sign in to post a comment