diff --git a/src/api/supermarket/smHotelMid.ts b/src/api/supermarket/smHotelMid.ts index 6c4f50e1..f73b47d3 100644 --- a/src/api/supermarket/smHotelMid.ts +++ b/src/api/supermarket/smHotelMid.ts @@ -41,6 +41,15 @@ export function pullRoomsFromUpstream(id: string | number) { }) } +/** 仅拉取 getRoomPrice 房价样例(今天 1 天) */ +export function pullPriceFromUpstream(id: string | number) { + return request({ + url: `/supermarket/smHotel/mid/pullPrice/${id}`, + method: "post", + timeout: 120000, + }) +} + export function pushToDownstream(id: string | number) { return request({ url: `/supermarket/smHotel/mid/push/${id}`, diff --git a/src/views/supermarket/smHotel/index.vue b/src/views/supermarket/smHotel/index.vue index 4a0b5eb0..169e262e 100644 --- a/src/views/supermarket/smHotel/index.vue +++ b/src/views/supermarket/smHotel/index.vue @@ -148,7 +148,7 @@ - +