'测试修改预约状态', 'booking_id' => 1, // 假设存在ID为1的预约 'action' => '已确认' ], [ 'name' => '测试更新付款状态', 'booking_id' => 1, 'action' => '已付款' ], [ 'name' => '测试更新预约时间', 'booking_id' => 1, 'action' => 'update_time', 'new_start_time' => date('Y-m-d H:i', strtotime('tomorrow 10:00')), 'new_end_time' => date('Y-m-d H:i', strtotime('tomorrow 11:30')) ] ]; ?>
使用此页面测试update_booking.php脚本的功能。
$test_case): ?>