diff --git a/bookings.php b/bookings.php index d501be7..849a98b 100644 --- a/bookings.php +++ b/bookings.php @@ -28,7 +28,7 @@ if (isset($_POST['action']) && isset($_POST['booking_id'])) { } elseif ($action == 'update_notes' && isset($_POST['notes_content'])) { // 更新客服备注 $notes_content = $_POST['notes_content']; - $stmt = $conn->prepare("UPDATE bookings SET custom_services = ? WHERE id = ?"); + $stmt = $pdo->prepare("UPDATE bookings SET custom_services = ? WHERE id = ?"); $stmt->execute([$notes_content, $booking_id]); echo 'success'; exit(); @@ -230,13 +230,13 @@ try {
客服备注: - +
客服备注: - +