|
@@ -319,7 +319,9 @@ public class AiBytedanceAdvertiserStrategyController {
|
|
public Map<String, Object> testCreateCreativeLimit(Long accountId, Integer hour) {
|
|
public Map<String, Object> testCreateCreativeLimit(Long accountId, Integer hour) {
|
|
Map<String, Object> result = new HashMap<>();
|
|
Map<String, Object> result = new HashMap<>();
|
|
List<AiBytedanceAdvertiserStrategy> strategys = aiBytedanceAdvertiserStrategyService.getByAccountId(accountId,0);
|
|
List<AiBytedanceAdvertiserStrategy> strategys = aiBytedanceAdvertiserStrategyService.getByAccountId(accountId,0);
|
|
-// aiBytedanceAdvertiserStrategyService.customCreativeSupplement(strategy, hour);
|
|
|
|
|
|
+ strategys.forEach(strategy->{
|
|
|
|
+ aiBytedanceAdvertiserStrategyService.customCreativeSupplement(strategy, hour,strategy.getAdOpenUrl());
|
|
|
|
+ });
|
|
ResultMapUtils.setResultMap(result, StatusCode.COMMON_SUCCESS);
|
|
ResultMapUtils.setResultMap(result, StatusCode.COMMON_SUCCESS);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|