diff --git a/src/Services/Tg/Hook/Mod/Visitor.php b/src/Services/Tg/Hook/Mod/Visitor.php index a577d14e..746edfc7 100644 --- a/src/Services/Tg/Hook/Mod/Visitor.php +++ b/src/Services/Tg/Hook/Mod/Visitor.php @@ -27,7 +27,7 @@ final class Visitor $iTotalCount += $row['total'] ?? 0; } - $sTotal = "\n\n总数:".$row['total']; + $sTotal = "\n\n总数:".$iTotalCount; $str = $sPre.$sTotal.$sPre.$sMsg.$sPre;