获取客户ID去重

This commit is contained in:
huangguancheng 2025-01-11 11:31:55 +08:00
parent 1008603a5f
commit d7806321df

View File

@ -147,7 +147,7 @@ class BpsAdController
}
// 获取客户ID数组
$accountIds = array_column($accounts, 'account_id');
$accountIds = array_unique(array_column($accounts, 'account_id'));
// 调用 Service 层查询广告列表
$result = $this->adsInsightService::getAdList(
@ -262,7 +262,7 @@ class BpsAdController
}
// 获取客户ID数组
$accountIds = array_column($accounts, 'account_id');
$accountIds = array_unique(array_column($accounts, 'account_id'));
// dump($accountIds);
// 调用 Service 层查询广告组列表
$result = $this->adsInsightService::getAdsetList(
@ -320,7 +320,7 @@ class BpsAdController
}
// 获取客户ID数组
$accountIds = array_column($accounts, 'account_id');
$accountIds = array_unique(array_column($accounts, 'account_id'));
// dump($accountIds);
// 调用 Service 层查询广告组列表
$result = $this->adsInsightService->getCreativeInsightData(
@ -375,7 +375,7 @@ class BpsAdController
}
// 获取客户ID数组
$accountIds = array_column($accounts, 'account_id');
$accountIds = array_unique(array_column($accounts, 'account_id'));
// dump($accountIds);
// 调用 Service 层查询广告组列表
$result = $this->adsInsightService->getAdCycleInsight(