初始版本

This commit is contained in:
root
2026-06-14 21:12:22 +08:00
commit 6a81742dc7
806 changed files with 179174 additions and 0 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++;
}
}
}