|
@@ -345,6 +345,9 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
strategy.setMaterialKeyword(items.get(0).getKeyword());
|
|
strategy.setMaterialKeyword(items.get(0).getKeyword());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if ("group".equals(level)) {
|
|
|
|
+ strategy.setMaterialKeyword(null);
|
|
|
|
+ }
|
|
List<KuaiShouVideoGet> newVideos = getVideosByParams(strategy, startTime, endTime, null, createType, videoCnt);
|
|
List<KuaiShouVideoGet> newVideos = getVideosByParams(strategy, startTime, endTime, null, createType, videoCnt);
|
|
if (null == newVideos || newVideos.isEmpty()) {
|
|
if (null == newVideos || newVideos.isEmpty()) {
|
|
log.info("账户:{},{} 到 {} 未获取到相应素材({})", accountId, startTime, endTime, replaceString);
|
|
log.info("账户:{},{} 到 {} 未获取到相应素材({})", accountId, startTime, endTime, replaceString);
|
|
@@ -698,6 +701,9 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
|
|
strategy.setMaterialKeyword(items.get(0).getKeyword());
|
|
strategy.setMaterialKeyword(items.get(0).getKeyword());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if ("group".equals(level)) {
|
|
|
|
+ strategy.setMaterialKeyword(null);
|
|
|
|
+ }
|
|
List<KuaiShouVideoGet> allVideos = getVideosByParams(strategy, startTime, endTime, null, createType, videoCnt);
|
|
List<KuaiShouVideoGet> allVideos = getVideosByParams(strategy, startTime, endTime, null, createType, videoCnt);
|
|
if (null == allVideos) {
|
|
if (null == allVideos) {
|
|
return;
|
|
return;
|