update wa official API

This commit is contained in:
WD - Dev
2025-10-07 21:01:15 +07:00
parent efca8f5f80
commit eb13c69431
55 changed files with 138040 additions and 1543 deletions
+2 -1
View File
@@ -207,8 +207,9 @@ function process_mikrotik_child(array $data, int $timeout_api, string $outfile):
foreach ($pppoe_data as $item) {
$name = $item['name'] ?? '';
$addr = $item['address'] ?? '';
$mac = $item['caller-id'] ?? '';
if ($name !== '' && $addr !== '') {
$pppoe_active[] = "{$name}_{$addr}";
$pppoe_active[] = "{$name}_{$addr}_{$mac}";
}
}
}