|
@@ -354,9 +354,13 @@ public class SyncOrderInfoLogic {
|
|
|
String json = JSONUtil.toJsonStr(workOrderSearchReq);
|
|
|
|
|
|
|
|
|
- Response body = HttpUtils.requestPostBody(greeUrl + Constant.gree.POST_WORKER_ORDER_DETAIL, json, heard);
|
|
|
+ // Response body = HttpUtils.requestPostBody(, json, heard);
|
|
|
|
|
|
- Map<String, Object> bodyMap = JSON.parseObject(body.body().string());
|
|
|
+ String body = HttpRequest.post(greeUrl + Constant.gree.POST_WORKER_ORDER_DETAIL)
|
|
|
+ .headerMap(heard, true)
|
|
|
+ .body(json).execute().body();
|
|
|
+
|
|
|
+ Map<String, Object> bodyMap = JSON.parseObject(body);
|
|
|
String s = bodyMap.get("data").toString();
|
|
|
|
|
|
|