From d85791a74023b3771329d4ff28f1d48ee3df613f Mon Sep 17 00:00:00 2001 From: huangguancheng Date: Sat, 15 Feb 2025 18:42:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E4=B8=AA=E5=B9=BF=E5=91=8A=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=9B=B4=E6=8D=A2=E8=B4=A6=E5=8F=B7=E8=A1=A8=20fixed?= =?UTF-8?q?=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/AdsInsightService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/service/AdsInsightService.php b/app/service/AdsInsightService.php index b702277..406726d 100644 --- a/app/service/AdsInsightService.php +++ b/app/service/AdsInsightService.php @@ -1243,8 +1243,8 @@ class AdsInsightService // 获取所有符合条件的数据(不分页) $allAccounts = $query->select()->toArray(); // 打印调试 SQL 查询 - $sql = $query->getLastSql(); - dump($sql); +// $sql = $query->getLastSql(); +// dump($sql); // 汇总统计数据 $total_spend = array_sum(array_column($allAccounts, 'spend')); $total_cost = array_sum(array_column($allAccounts, 'total_cost'));