|
@@ -2692,7 +2692,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
@Override
|
|
|
public void liveToReplay(UserQueryBo bo) {
|
|
|
Long nowTime = DateUtils.getNowTime();
|
|
|
- Long startTime = nowTime - 3600 * 24 * 7;
|
|
|
+ Long startTime = nowTime - 3600 * 2 ;
|
|
|
List<CourseSectionVo> list = iCourseSectionService.overSectionList(startTime, nowTime);
|
|
|
for (CourseSectionVo sectionVo : list) {
|
|
|
PolyvLiveQueryBo queryBo = new PolyvLiveQueryBo();
|
|
@@ -2713,11 +2713,6 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
sectionVo.setDurationTime(info.getDuration().longValue());
|
|
|
sectionVo.setRealLiveEndTime(info.getEndTime().getTime() / 1000);
|
|
|
sectionVo.setRealLiveStartTime(info.getStartTime().getTime() / 1000);
|
|
|
- /* PolyvLiveQueryBo queryBo1 = new PolyvLiveQueryBo();
|
|
|
- queryBo1.setChannelId(sectionVo.getLiveUrl());
|
|
|
- queryBo1.setSessionId(info.getChannelSessionId());
|
|
|
- LiveListChannelVideoLibraryResponse.ChannelVideoLibrary channelVideoLibrary = iPolyvLiveService.ListChannelVideoLibrary(queryBo1);
|
|
|
- sectionVo.setRecordingUrl(channelVideoLibrary.getVideoPoolId());*/
|
|
|
sectionVo.setSectionType(3);
|
|
|
CourseSection section = BeanUtil.toBean(sectionVo, CourseSection.class);
|
|
|
section.setUpdateTime(DateUtils.getNowTime());
|