liutao-lx
Results
1
issues of
liutao-lx
在goods服务的RecommendProductServiceImpl的getRealtimeRecommend()方法 public Message getRealtimeRecommend(Integer pageSize, Integer currentPage, Long userId) { //如果是游客登录直接 查询发布时间最新的商品 if(userId == null){ log.info("智能推送{}---->商城首页"," userId == null "); return productInfoService.getProductBriefInfoByPage(currentPage, pageSize); } //获得存储在redis中的实时推荐的商品id的list String redisKey = RedisUtil.getProductRealtimeRecommendListKey(userId); Boolean...