Commit 4a8a1764 authored by 黄奎's avatar 黄奎

页面调整

parent 5c6790b0
......@@ -4,7 +4,7 @@ import request from './request'
//道旅酒店API
class DidaService {
//道旅城市
static async GetDidaCity(param: any): Promise<HttpResponse> {
return request('dmc_post_GetDiDaCityBaseInfo', param, false)
......@@ -34,6 +34,15 @@ class DidaService {
param.searchMinRate = param.searchMinRate && param.searchMinRate != '' ? param.searchMinRate : 0
return request('dmc_post_GetDiDaHotelPageList', param, false)
}
//道旅实施查询接口
static async GetDidaHotelListV2(param: any): Promise<HttpResponse> {
param.reviewRatingUpperLimits = param.reviewRatingUpperLimits && param.reviewRatingUpperLimits != '' ? param.reviewRatingUpperLimits : 0
param.reviewRatingLowerLimits = param.reviewRatingLowerLimits && param.reviewRatingLowerLimits != '' ? param.reviewRatingLowerLimits : 0
param.searchMaxRate = param.searchMaxRate && param.searchMaxRate != '' ? param.searchMaxRate : 0
param.searchMinRate = param.searchMinRate && param.searchMinRate != '' ? param.searchMinRate : 0
return request('dmc_post_GetDiDaLowPriceSearchList', param, false)
}
}
export default DidaService
......@@ -304,7 +304,7 @@ export default defineComponent({
let dataList = [] as any[];
data.travelLngLat = [];
let param = Object.assign(data.pages, search);
DidaService.GetDidaHotelList(param)
DidaService.GetDidaHotelListV2(param)
.then((r) => {
console.log("initHotels",r.data);
if (r.data.data.pageData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment