|
@@ -488,7 +488,12 @@ public class AiBytedanceAdvertiserStrategyController {
|
|
|
Result resultUnion = aiBytedanceAdvertiserStrategyService.getAdAudiencePackage(accountId,landingType,"UNION");
|
|
|
List listDefault = (List) resultDefault.getResult();
|
|
|
List listUnion = (List) resultUnion.getResult();
|
|
|
- listDefault.addAll(listUnion);
|
|
|
+
|
|
|
+ if (!Check.isNull(listDefault)){
|
|
|
+ listDefault.addAll(listUnion);
|
|
|
+ }else {
|
|
|
+ listDefault = listUnion;
|
|
|
+ }
|
|
|
return Result.successMsg("获取定向包成功。",listDefault);
|
|
|
}catch (Exception e){
|
|
|
log.error("获取定向包异常",e);
|