This commit is contained in:
mzl
2025-10-13 15:40:46 +08:00
parent 44da0615ee
commit 0752abd26d
5 changed files with 40 additions and 18 deletions
@@ -139,7 +139,6 @@ class StatisticsController extends BaseController
// 1. 计算时间范围
$now = Carbon::now();
$sixMonthsAgo = $now->copy()->subMonths(5)->startOfMonth(); // 包含6个月
var_dump($sixMonthsAgo->timestamp);
// 2. 获取关联渠道ID
$channelIds = $this->getChannelIdsByCompany($companyId);