@@ -68,8 +68,8 @@ public class AiKuaishouNewCreateCampaignServiceImpl implements IAiKuaishouNewCre
// 2.2 执行 素造的 视频拉取服务,时间过滤执行 yyyy-MM-dd HH:mm:ss
// 时间差,单位为分钟
- int timeStart = -25;
- int timeEnd = -20;
+ int timeStart = -10;
+ int timeEnd = -5;
Long now = System.currentTimeMillis();
String startTime = DateUtils.formatDate(new Date(now + timeStart*60*1000),"yyyy-MM-dd HH:mm:ss");
String endTime = DateUtils.formatDate(new Date(now + timeEnd*60*1000),"yyyy-MM-dd HH:mm:ss");
@@ -2975,7 +2975,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
@Override
public void run() {
List<MaterialCutFrame> cutFrames = cutFrameService.getListByVideoSignature(md5);
- if(null!=cutFrames&&!cutFrames.isEmpty()){
+ if(null==cutFrames||cutFrames.isEmpty()){
videoGetService.getKeyFrame(token, accountId, md5, String.valueOf(photo_id));
}