课程详情api返回学员的课时学习记录

This commit is contained in:
none
2023-03-24 17:23:54 +08:00
parent 4514adb9d0
commit 2b89ed310a
8 changed files with 28 additions and 16 deletions

View File

@@ -51,7 +51,7 @@ public class UserBus {
Long curTime = System.currentTimeMillis();
// 最近一次学习时间
Long lastTime = userLastLearnTimeCache.get(FCtx.getUserId());
Long lastTime = userLastLearnTimeCache.get(FCtx.getId());
// 最大周期为10s
if (lastTime == null || curTime - lastTime > 10000) {
lastTime = curTime - 10000;