获取客户ID去重
This commit is contained in:
parent
1008603a5f
commit
d7806321df
@ -147,7 +147,7 @@ class BpsAdController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取客户ID数组
|
// 获取客户ID数组
|
||||||
$accountIds = array_column($accounts, 'account_id');
|
$accountIds = array_unique(array_column($accounts, 'account_id'));
|
||||||
|
|
||||||
// 调用 Service 层查询广告列表
|
// 调用 Service 层查询广告列表
|
||||||
$result = $this->adsInsightService::getAdList(
|
$result = $this->adsInsightService::getAdList(
|
||||||
@ -262,7 +262,7 @@ class BpsAdController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取客户ID数组
|
// 获取客户ID数组
|
||||||
$accountIds = array_column($accounts, 'account_id');
|
$accountIds = array_unique(array_column($accounts, 'account_id'));
|
||||||
// dump($accountIds);
|
// dump($accountIds);
|
||||||
// 调用 Service 层查询广告组列表
|
// 调用 Service 层查询广告组列表
|
||||||
$result = $this->adsInsightService::getAdsetList(
|
$result = $this->adsInsightService::getAdsetList(
|
||||||
@ -320,7 +320,7 @@ class BpsAdController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取客户ID数组
|
// 获取客户ID数组
|
||||||
$accountIds = array_column($accounts, 'account_id');
|
$accountIds = array_unique(array_column($accounts, 'account_id'));
|
||||||
// dump($accountIds);
|
// dump($accountIds);
|
||||||
// 调用 Service 层查询广告组列表
|
// 调用 Service 层查询广告组列表
|
||||||
$result = $this->adsInsightService->getCreativeInsightData(
|
$result = $this->adsInsightService->getCreativeInsightData(
|
||||||
@ -375,7 +375,7 @@ class BpsAdController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取客户ID数组
|
// 获取客户ID数组
|
||||||
$accountIds = array_column($accounts, 'account_id');
|
$accountIds = array_unique(array_column($accounts, 'account_id'));
|
||||||
// dump($accountIds);
|
// dump($accountIds);
|
||||||
// 调用 Service 层查询广告组列表
|
// 调用 Service 层查询广告组列表
|
||||||
$result = $this->adsInsightService->getAdCycleInsight(
|
$result = $this->adsInsightService->getAdCycleInsight(
|
||||||
|
Loading…
Reference in New Issue
Block a user