|
@@ -78,7 +78,6 @@ public class LiveCompletionPointsTask {
|
|
|
Long userId = Long.parseLong(entry.getKey().toString());
|
|
Long userId = Long.parseLong(entry.getKey().toString());
|
|
|
Long duration = Long.parseLong(entry.getValue().toString()); // 从 Redis 直接获取观看时长
|
|
Long duration = Long.parseLong(entry.getValue().toString()); // 从 Redis 直接获取观看时长
|
|
|
|
|
|
|
|
- // 4. 检查并创建完课记录(传入Redis中的观看时长,不要传null)
|
|
|
|
|
completionPointsRecordService.checkAndCreateCompletionRecord(liveId, userId, duration);
|
|
completionPointsRecordService.checkAndCreateCompletionRecord(liveId, userId, duration);
|
|
|
|
|
|
|
|
// 5. 检查是否有新的完课记录待领取,推送弹窗消息(防重复)
|
|
// 5. 检查是否有新的完课记录待领取,推送弹窗消息(防重复)
|