|
|
@@ -3874,7 +3874,11 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
realLinkFull = config.getRealLinkGjDomainName() + realLinkFull;
|
|
|
}
|
|
|
link.setRealLink(realLinkFull);
|
|
|
- link.setUpdateTime(new Date());
|
|
|
+ LocalDate tomorrow = LocalDate.now().plusDays(1);
|
|
|
+ LocalDateTime expireDateTime = LocalDateTime.of(tomorrow, LocalTime.of(23, 59, 59));
|
|
|
+ Date expireDate = Date.from(expireDateTime.atZone(ZoneId.systemDefault()).toInstant());
|
|
|
+
|
|
|
+ link.setUpdateTime(expireDate);
|
|
|
fsCourseLinkMapper.insertFsCourseLink(link);
|
|
|
Map<String, String> result = new HashMap<>();
|
|
|
result.put("url", link.getRealLink());//真实课程链接
|