广告接口支持多店铺 更新4
This commit is contained in:
parent
773a7942ff
commit
349a3d69f5
@ -273,7 +273,7 @@ class AdsInsightService
|
||||
$campaigns = $query->limit(($page - 1) * $pageSize, $pageSize)->select();
|
||||
|
||||
|
||||
$accountIds = array_unique(array_column($campaigns, 'account_id'));
|
||||
$accountIds = array_unique(array_column($campaigns->toArray(), 'account_id'));
|
||||
$accountNames = BpsAdsMerchantRelation::whereIn('account_id', $accountIds)
|
||||
->column('account_name', 'account_id');
|
||||
// 确保数据格式统一
|
||||
|
Loading…
Reference in New Issue
Block a user