|
@@ -1865,10 +1865,10 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
}
|
|
|
// 从Redis中获取观看时长
|
|
|
String redisKey = "h5wxuser:watch:duration:" + param.getUserId() + ":" + param.getVideoId() + ":" + param.getCompanyUserId();
|
|
|
- log.info("看课redis缓存key:{}", redisKey);
|
|
|
+// log.info("看课redis缓存key:{}", redisKey);
|
|
|
try {
|
|
|
String durationStr = redisCache.getCacheObject(redisKey);
|
|
|
- log.info("看课记录:{}", durationStr);
|
|
|
+// log.info("看课记录:{}", durationStr);
|
|
|
long duration = durationStr != null ? Long.parseLong(durationStr) : 0L;
|
|
|
|
|
|
// 更新Redis中的观看时长
|