mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 12:49:28 +08:00
课程详情api返回学员的课时学习记录
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user