get('siro:cache:ai:hotzones'); } catch (Exception $e) { echo json_encode(["status" => "error", "message" => "Redis connection failed"]); exit; } if (!$hotZonesJson) { echo json_encode(["status" => "success", "data" => [], "message" => "No hot zones available"]); exit; } // الـ JSON القادم من Redis تم تصميمه بالفعل بالشكل النهائي المطلوب للتطبيق echo $hotZonesJson; ?>