This commit is contained in:
Your Name
2026-08-25 11:40:58 +08:00
parent b8ccbaf567
commit f24afa116f
350 changed files with 1910 additions and 371 deletions
+3 -2
View File
@@ -13,7 +13,7 @@ function conversionFanRuleExpect(bool $condition, string $message): void
}
}
$method = new ReflectionMethod(ConversionLogic::class, 'loadFanRows');
$method = new ReflectionMethod(ConversionLogic::class, 'loadFanDetailRows');
$sourceLines = file($method->getFileName());
if ($sourceLines === false) {
throw new RuntimeException('无法读取加粉统计源码');
@@ -33,7 +33,8 @@ conversionFanRuleExpect(
'会话存档同意是独立能力,不能再次成为加粉统计的硬性条件'
);
conversionFanRuleExpect(
str_contains($methodSource, "['del_external_contact', \$endTimestamp]"),
str_contains($methodSource, "'del_external_contact'")
&& str_contains($methodSource, 'surviving_del.event_time >= surviving_e.event_time'),
'加粉统计必须继续识别区间内已删除客户'
);
conversionFanRuleExpect(