|
@@ -289,19 +289,6 @@ public class AiBytedanceAdvertiserStrategyServiceImpl extends ServiceImpl<AiByte
|
|
|
JSONArray titleArray = new JSONArray();
|
|
|
List<BytedanceVideoSlogenInfo> slogenInfos = slogenInfoService.listByParams(videoInfo.getSignature(),1);
|
|
|
if(!Check.isNull(slogenInfos)){
|
|
|
-// slogenInfos.forEach(slogenInfo->{
|
|
|
-//// JSONObject titleObject = new JSONObject();
|
|
|
-//// titleObject.put("title",slogenInfo.getSlogan());
|
|
|
-//// String creativeWordsIds = slogenInfo.getCreativeWordIds();
|
|
|
-//// if(null!=creativeWordsIds&&!creativeWordsIds.trim().equals("")){
|
|
|
-//// JSONArray creativeWordsArray = JSON.parseArray(creativeWordsIds);
|
|
|
-//// if(null!=creativeWordsArray&&!creativeWordsArray.isEmpty()){
|
|
|
-//// titleObject.put("creative_word_ids",creativeWordsArray);
|
|
|
-//// }
|
|
|
-//// }
|
|
|
-//// titleArray.add(titleObject);
|
|
|
-//// });
|
|
|
-
|
|
|
for (BytedanceVideoSlogenInfo slogenInfo:slogenInfos) {
|
|
|
if(titleArray.size() >= 10){ //接口中是要求一个视频最多10个标题
|
|
|
break;
|