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

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

No files matched your search

+1 -1
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,
}
}