feat: xxbb

This commit is contained in:
hashbro
2026-08-14 13:15:52 +08:00
parent 3c9cda5329
commit 52fc3a4c4a
11 changed files with 213 additions and 38 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ class XxbbC2Controller extends Controller
);
$domain = PageVisit::normalizeDomain($domain);
$ip = (string) $request->ip();
$ip = PageVisit::normalizeIp((string) $request->ip());
$uid = PageVisit::visitorUid($domain, $ip);
if ($channelCode !== '' && strlen($channelCode) <= 64 && $this->shouldRecordIptj($channelCode, $uid, $sessionId)) {
@@ -218,7 +218,7 @@ class XxbbC2Controller extends Controller
'ts' => $request->input('ts'),
'x-hit' => $xHitRaw,
],
], 'c2');
], 'xxbb');
}
return $this->xxbbAck($request);