实现酒店上下文单酒店收口

This commit is contained in:
andy
2026-07-10 15:31:51 +08:00
parent 7492c21350
commit d69f3975ef
52 changed files with 1183 additions and 188 deletions

View File

@@ -152,7 +152,7 @@ function withQuery(path: string, params: object): string {
function withReservationHotel<T extends { hotel_id?: string }>(filters: T): T {
return {
hotel_id: getReservationHotelId(),
hotel_id: getReservationHotelId() ?? undefined,
...filters,
}
}