mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 20:06:51 +08:00
修改
This commit is contained in:
@@ -412,6 +412,8 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
}
|
||||
//追加学习时长,学习时长是单独的记录,这里不再进行记录
|
||||
//studyService.appendStudyDuration(st);
|
||||
List<StudyCourse> allUserList = thirdApi.getStudyCourseList(sci.getStudyId() ,sci.getCourseId(), token);
|
||||
log.info("在线课学习记录"+allUserList);
|
||||
return success(item.getId());
|
||||
}
|
||||
//如果不存在,就创建,这种情况应该不存在
|
||||
@@ -420,6 +422,8 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
sci.setAname(cuser.getName());
|
||||
sci.setProgress(100);
|
||||
studyService.saveStudyInfo(sci,token);
|
||||
List<StudyCourse> allUserList = thirdApi.getStudyCourseList(sci.getStudyId() ,sci.getCourseId(), token);
|
||||
log.info("在线课学习记录"+allUserList);
|
||||
return success(sci.getStudyItemId());
|
||||
}catch(Exception e) {
|
||||
log.error("记录学习课程内容完成错误",e);
|
||||
@@ -509,6 +513,8 @@ public class StudyCourseApi extends ApiBaseController{
|
||||
}
|
||||
try {
|
||||
studyService.finishVideoStudyItem(itemId, studyId,courseId,cnum,token);
|
||||
List<StudyCourse> allUserList = thirdApi.getStudyCourseList(studyId ,courseId, token);
|
||||
log.info("在线课学习记录"+allUserList);
|
||||
return success(true);
|
||||
}catch(Exception e) {
|
||||
log.error("记录内容学习完成错误",e);
|
||||
|
||||
Reference in New Issue
Block a user