|
@@ -1097,6 +1097,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
|
|
|
long duration = 0L;
|
|
|
long tipsTime = 0L;
|
|
|
+ long tipsTime2 = 0L;
|
|
|
int isFinish = 0;
|
|
|
FsUserCourseVideoLinkDetailsVO vo = new FsUserCourseVideoLinkDetailsVO();
|
|
|
vo.setCourseVideoDetails(courseVideoDetails);
|
|
@@ -1121,9 +1122,11 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
}
|
|
|
//
|
|
|
if (courseVideoDetails != null && courseVideoDetails.getDuration() != null){
|
|
|
- tipsTime = courseVideoDetails.getDuration()/2;
|
|
|
+ tipsTime = courseVideoDetails.getDuration() / 3;
|
|
|
+ tipsTime2 = (courseVideoDetails.getDuration() * 2) / 3;
|
|
|
}
|
|
|
vo.setTipsTime(tipsTime);
|
|
|
+ vo.setTipsTime2(tipsTime2);
|
|
|
//判断是否完课
|
|
|
if (watchLog!=null && watchLog.getLogType() == 2) {
|
|
|
isFinish = 1;
|