酒店列表
POST
ip:8010/api/search/hotel
请求参数
参数名
类型
描述
必填
keyword
String
搜索关键字,当keyword不为空时,取消默认排序
必填
longitude
String
百度经度
必填
latitude
String
百度纬度
必填
countriesId
Integer
国家id
必填
provinceId
Integer
省份id
必填
cityId
Integer
城市id
必填
districtId
Integer
行政区(县)id
必填
citiesId
Integer
商圈id
必填
themeId
Integer
主题id
必填
starId
String
星级id,多个id用逗号拼接
必填
priceRangeId
Integer
价格区间id
必填
priceStart
Integer
价格开始
必填
priceEnd
Integer
价格结束
必填
sortMode
Integer
排序方式 1智能排序 2人气高到低 3价格低到高 4价格高到低 11距离排序(可选,默认智能排序),当sort_mode!=11时,默认按topOn,listOrder降序排序
必填
pageNo
Integer
页码,第几页 默认1
必填
pageSize
Integer
每页显示数据数量 默认20
必填
plateId
Integer
品牌id
必填
响应参数
参数名
类型
描述
必填
code
Integer
状态码 200 正常
必填
message
String
返回消息
必填
pageNo
Integer
当前页码
必填
pageSize
Integer
每页数据数量
必填
totalPage
Integer
当前条件的页数
必填
totalCount
Integer
当前条件的数据数量
必填
id
Integer
酒店id
必填
productType
Integer
产品类型 1酒店 2门票
必填
productName
String
酒店名称
必填
address
String
地址
必填
location
String
经纬度 "百度纬度"+","+"百度经度"的方式拼接的字符串
必填
minPrice
Double
最低价格
必填
productState
Integer
酒店状态 1下架 2上架
必填
hotelTheme
String
酒店主题
必填
hotelThemeId
Integer
酒店主题id
必填
hotelStar
String
酒店星级
必填
hotelStarTitle
String
酒店星级标题
必填
hotelImg
String
酒店缩略图
必填
hotelCountries
String
酒店所在国家
必填
hotelProvince
String
酒店所在省份
必填
hotelCity
String
酒店所在城市
必填
hotelDistrict
String
酒店所在行政区域(县)
必填
hotelCities
String
酒店商圈
必填
hotelAroundLandMarks
String
酒店周围地标
必填
recom
Integer
是否推荐 1不是 2是
必填
hotSales
Integer
是否热销 1不是 2是
必填
hotelBright
String
酒店亮点
必填
promoteSales
Integer
是否促销 1不是 2是
必填