|
@@ -1,6 +1,7 @@
|
|
|
package com.zswl.cloud.springBtach.server.core.api.dfy;
|
|
|
|
|
|
import cn.hutool.http.HttpUtil;
|
|
|
+import cn.hutool.json.JSONObject;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import com.zswl.cloud.springBatch.client.model.dfy.DfyBaseData;
|
|
|
import com.zswl.cloud.springBatch.client.model.dfy.DfyRequestBase;
|
|
@@ -40,10 +41,11 @@ public class DomesticHotelApi {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public HotelListResponse hotelList(HotelListRequest hotelListRequest) {
|
|
|
+ public JSONObject hotelList(HotelListRequest hotelListRequest) {
|
|
|
|
|
|
String post = post(hotelListRequest, "/DomesticHotel/query/hotelList");
|
|
|
- return JSONUtil.toBean(post, HotelListResponse.class);
|
|
|
+ JSONObject entries = JSONUtil.parseObj(post);
|
|
|
+ return entries;
|
|
|
|
|
|
}
|
|
|
|