diff --git a/app/service/AdsInsightService.php b/app/service/AdsInsightService.php index 5a4d911..80ccade 100644 --- a/app/service/AdsInsightService.php +++ b/app/service/AdsInsightService.php @@ -339,10 +339,10 @@ class AdsInsightService * @param string|null $endDate 结束日期 * @param int $status 广告系列状态 */ - public static function exportCampaignsToExcel($platformType, $customerIds, $page, $pageSize, $keyword, $startDate = null, $endDate = null, $requireSpend = false, $status = 0) + public static function exportCampaignsToExcel($platformType, $customerIds, $page, $pageSize, $keyword, $startDate = null, $endDate = null, $status = 0, $requireSpend = false) { // 调用 getCampaignList 获取广告系列数据 - $campaignList = self::getCampaignList($platformType, $customerIds, $page, $pageSize, $keyword, $startDate, $endDate, $status, false); + $campaignList = self::getCampaignList($platformType, $customerIds, $page, $pageSize, $keyword, $startDate, $endDate, $status, $requireSpend); if (empty($campaignList['data'])) { $data = [