|
@@ -1,5 +1,6 @@
|
|
|
package com.shanghaichengdi.generalcontrollerservice.controller;
|
|
|
|
|
|
+import cn.hutool.http.HttpResponse;
|
|
|
import cn.hutool.http.HttpUtil;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
@@ -207,7 +208,8 @@ public class BoatCoverAndFlagController {
|
|
|
jsonObject.put("pictureUrl", "http://10.114.4.20:8090/static/" + lifeJacketAnalysis.getColumn1());
|
|
|
jsonObject.put("bayonetId", data.getBayonetId()); //卡口id 为了封装199服务地址的路径存储
|
|
|
//调用下载图片地址 参数传入下载
|
|
|
- HttpUtil.createPost("https://10.83.240.193:8090/download/downloadAnalysedPicture").body(jsonObject.toJSONString()).setSSLSocketFactory(SSLUtils.getSSLSocketFactory()).executeAsync();
|
|
|
+ HttpResponse response = HttpUtil.createPost("https://10.83.240.193:8090/download/downloadAnalysedPicture").body(jsonObject.toJSONString()).setSSLSocketFactory(SSLUtils.getSSLSocketFactory()).executeAsync();
|
|
|
+ log.info("分析图上传结果:"+response);
|
|
|
event.setEventValue("0");
|
|
|
List<BoatWarning> boatWarningList = new ArrayList<>();
|
|
|
BoatWarning boatWarning = new BoatWarning();
|