完整版V1 加入爬虫功能

This commit is contained in:
root
2026-06-09 03:36:30 +08:00
parent 34d76cce74
commit a68b83fcbd
69 changed files with 5058 additions and 56 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
// 文件名: UnifiedScrmData.php
class UnifiedScrmData
{
public $todayNewCount = 0;
public $totalOnline = 0;
public $totalOffline = 0;
public $numbers = []; // 号码列表
public $total = 0; // 号码总数
public function addNumber($number, $isOnline, $newFollowersToday)
{
$this->numbers[] = [
'number' => $number,
'status' => $isOnline ? 'online' : 'offline',
'newFollowersToday' => $newFollowersToday
];
if ($isOnline) {
$this->totalOnline++;
} else {
$this->totalOffline++;
}
}
}