Browse Source

去掉看课和缓存日志

ct 2 weeks ago
parent
commit
a4ee47ff15

+ 1 - 1
fs-service-system/src/main/java/com/fs/course/service/impl/FsUserCourseVideoServiceImpl.java

@@ -1221,7 +1221,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
 
 
         // 从Redis中获取观看时长
         // 从Redis中获取观看时长
         String redisKey = "h5wxuser:watch:duration:" + param.getUserId() + ":" + param.getVideoId() + ":" + param.getCompanyUserId();
         String redisKey = "h5wxuser:watch:duration:" + param.getUserId() + ":" + param.getVideoId() + ":" + param.getCompanyUserId();
-        log.info("看课redis缓存key:{}", redisKey);
+//        log.info("看课redis缓存key:{}", redisKey);
         try {
         try {
             String durationStr = redisCache.getCacheObject(redisKey);
             String durationStr = redisCache.getCacheObject(redisKey);
             log.info("看课记录:{}", durationStr);
             log.info("看课记录:{}", durationStr);