|
@@ -87,8 +87,17 @@ public class AiStrategyServiceImpl implements IAiStrategyService {
|
|
// {'highQualityMaterial':{'days':7, 'num':5},'newMaterialNum':5}
|
|
// {'highQualityMaterial':{'days':7, 'num':5},'newMaterialNum':5}
|
|
// TODO 更新该账户下的 ctop_kuaishou_video_get 数据
|
|
// TODO 更新该账户下的 ctop_kuaishou_video_get 数据
|
|
|
|
|
|
|
|
+ // 获取当天零点到现在的非素造的视频
|
|
kuaishouInterfaceService.getVideoList(token,DateUtils.date2Str(),DateUtils.date2Str());
|
|
kuaishouInterfaceService.getVideoList(token,DateUtils.date2Str(),DateUtils.date2Str());
|
|
|
|
|
|
|
|
+ /*// 获取当天零点到现在的素造视频
|
|
|
|
+ String startDate = DateUtils.formatDate(new Date(),"yyyy-MM-dd HH:mm:ss");
|
|
|
|
+ // 时间差,单位为分钟
|
|
|
|
+ int dimeDiff = 5;
|
|
|
|
+ Date now = new Date();
|
|
|
|
+ String endDate = DateUtils.formatDate(new Date(now.getTime() - dimeDiff*60*1000),"yyyy-MM-dd HH:mm:ss");
|
|
|
|
+ kuaishouInterfaceService.getSuZaoList(token.getAccessToken(), token.getAccountId(), 1, startDate, endDate)));*/
|
|
|
|
+
|
|
JSONObject MaterialSelectMethod = JSONObject.parseObject(strategyTemplate.getMaterialSelectMethod());
|
|
JSONObject MaterialSelectMethod = JSONObject.parseObject(strategyTemplate.getMaterialSelectMethod());
|
|
List<KuaiShouVideoGet> newVideos = new ArrayList<KuaiShouVideoGet>();
|
|
List<KuaiShouVideoGet> newVideos = new ArrayList<KuaiShouVideoGet>();
|
|
List<KuaiShouVideoGet> highQualityVideos = new ArrayList<KuaiShouVideoGet>();
|
|
List<KuaiShouVideoGet> highQualityVideos = new ArrayList<KuaiShouVideoGet>();
|