|
@@ -121,16 +121,8 @@ public class AiBytedanceAdvertiserStrategyServiceImpl extends ServiceImpl<AiByte
|
|
|
}
|
|
|
//List<ByteDanceVideoInfo> videoInfos = getVideoInfoByCreateType(userAllocation.getProjectId(),strategy,startTime,endTime,createType,videoCnt);
|
|
|
List<ByteDanceVideoInfo> videoInfos = getvideoOrImageInfoByCreateType(userAllocation.getProjectId(),strategy,startTime,endTime,createType,videoCnt);
|
|
|
-
|
|
|
if(null == videoInfos||videoInfos.isEmpty()){
|
|
|
log.info("获取{}视频素材为空=>accountId:{}",BytedanceCreativeMatTypeEnum.getNameByType(createType+""),token.getAccountId());
|
|
|
- AiBytedanceAutocreateLog iBytedanceAutocreateLog = new AiBytedanceAutocreateLog(
|
|
|
- token.getAccountId(),
|
|
|
- "获取视频素材",
|
|
|
- 500,
|
|
|
- "获取"+BytedanceCreativeMatTypeEnum.getNameByType(createType+"")+"视频素材为空=>accountId:" + token.getAccountId(),
|
|
|
- "AiBytedanceAdvertiserStrategyService.getVideoInfoByCreateType => projectId:"+userAllocation.getProjectId()+",strategy:"+strategy.toString()+",startTime:"+startTime+",endTime:"+endTime+",createType:"+createType+",videoCnt:"+videoCnt);
|
|
|
- iBytedanceAutocreateLogService.save(iBytedanceAutocreateLog);
|
|
|
return videoCnt;
|
|
|
}
|
|
|
log.info("获取{}素材个数:{}=>accountId:{}",BytedanceCreativeMatTypeEnum.getNameByType(createType+""),videoInfos.size(),token.getAccountId());
|