|
|
@@ -116,10 +116,10 @@ public class VideoPostServiceImpl implements VideoPostService {
|
|
|
int postStatus = VideoStatus.censor.getValue();
|
|
|
videoPost = new VideoPost(videoId, videoPublishSbt, coverUrl, videoFile, postStatus, publishAt);
|
|
|
|
|
|
- long duration = publishAt-System.currentTimeMillis();
|
|
|
+ /*long duration = publishAt-System.currentTimeMillis();
|
|
|
if (duration < 600_000) {
|
|
|
return Result.fail("定时发布的时间至少应在 10 分钟后");
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
|
|
|
if (!videoInfo.getFormatName().contains("mov,mp4")) {
|