Update: 2026-05-06 03:13:03

This commit is contained in:
Hamza-Ayed
2026-05-06 03:13:03 +03:00
parent 13c2f75432
commit 3a29f26d56
2 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,8 @@ class WhatsAppProxyService
//"https://botmasa.intaleq.xyz/send", // mayar
//"https://botmasa2.intaleq.xyz/send", // shad
//"https://bootride.intaleq.xyz/send", // ramat bus
"https://bot5.intaleq.xyz/send", // shahd
"https://bot3.intaleq.xyz/send", // shahd
"https://bot5.intaleq.xyz/send", // bot5 from postman
//"https://whatsapp.tripz-egypt.com/send" // tripz
];
@@ -67,9 +68,8 @@ class WhatsAppProxyService
$responseData = json_decode($response, true);
// التحقق من حالة الرد (يمكنك تخصيصه حسب هيكل رد البوت الخاص بك)
if (isset($responseData['error']) && $responseData['error']) {
error_log("[WhatsAppProxyService] API Error on $url: " . json_encode($responseData));
if (!isset($responseData['success']) || $responseData['success'] !== true) {
error_log("[WhatsAppProxyService] API Error on $url: " . $response);
return false;
}