|
@@ -141,7 +141,7 @@ public class MessageAttachmentServiceImpl implements MessageAttachmentService {
|
|
}
|
|
}
|
|
MessageAttachment messageAttachment = messageAttachmentList.get(0);
|
|
MessageAttachment messageAttachment = messageAttachmentList.get(0);
|
|
if (messageAttachment.getSendTime() != null &&
|
|
if (messageAttachment.getSendTime() != null &&
|
|
- DateUtil.dateDifference(new Date(), messageAttachment.getSendTime()) < 90 * MILLISECOND_DAY) {
|
|
|
|
|
|
+ DateUtil.dateDifference(new Date(), messageAttachment.getSendTime()) < 30 * MILLISECOND_DAY) {
|
|
LarkRobotUtil.sendMessage("保底视频90天内已发送,请查看videoId=" + videoId);
|
|
LarkRobotUtil.sendMessage("保底视频90天内已发送,请查看videoId=" + videoId);
|
|
throw new RuntimeException("保底视频90天内已发送,请查看videoId=" + videoId);
|
|
throw new RuntimeException("保底视频90天内已发送,请查看videoId=" + videoId);
|
|
}
|
|
}
|