Update: 2026-07-04 18:43:56
This commit is contained in:
@@ -212,6 +212,14 @@ try {
|
||||
|
||||
$con->commit();
|
||||
|
||||
// 🆕 Cache ride state in Redis
|
||||
sendToLocationServer('update_ride_state', [
|
||||
'ride_id' => $rideId,
|
||||
'status' => 'cancelled_by_driver',
|
||||
'driver_id' => $driverId,
|
||||
'passenger_id' => $passenger_id ?? '',
|
||||
]);
|
||||
|
||||
// 5. الرد للفلاتر
|
||||
echo json_encode([
|
||||
"status" => "success",
|
||||
|
||||
Reference in New Issue
Block a user