Merge branch 'zcwy0606-llf' into dev0525

This commit is contained in:
zhaolongfei
2024-06-18 11:12:49 +08:00

View File

@@ -540,7 +540,9 @@ public class StudyCourseApi extends ApiBaseController{
//检查是否已存在
try {
studyService.updateLastTime(itemId,videoTime,getCurrent().getAccountId());
contentService.updateProcessVideo(contentId,courseId,processVideo);
if (contentId != null && courseId != null){
contentService.updateProcessVideo(contentId, courseId, processVideo);
}
return success(true);
}catch(Exception e) {
log.error("记录最后学习时间错误",e);