import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;
import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;
JSONObject jsonObject = JSONUtil.createObj();
jsonObject.put("shift", "D");
jsonObject.put("model", dataMap.get("MODEL"));
jsonObject.put("stage", dataMap.get("STAGE_GROUP"));
jsonObject.put("reflow", "Y");
jsonObject.put("startTime", startTime);
private List
get请求 :HttpResponse response = HttpRequest.get("http://127.0.0.1:9001/caiyun-record/login?paramData=I0CZZJYUBP9JixsyeDkhRnIfFgyXP-NaP1DiJ8_AWoY1eEeZN5BwF_HMSfb4wl6oE")
.execute();
log.info("get请求返回:{}",response.body());
来源地址:https://blog.csdn.net/m0_64979027/article/details/130642469