zhoupeng 1 жил өмнө
parent
commit
de3d4b08c8

+ 1 - 1
cqcy-ei/cqcy-ei-da/src/main/java/com/example/opc_da/task/PrintTask.java

@@ -56,7 +56,7 @@ public class PrintTask {
                 }
             }
 //            String url = "http://192.168.0.15:8081/app" + pageUrl + "?id=" + reportTableId;
-            String url="http://localhost:8084/cy-sheet/index.html?id="+reportTableId;
+            String url = "http://localhost:8084/cy-sheet/index.html?id=" + reportTableId;
 //            String url = "http://" + hostAddress + ":8081/app" + pageUrl + "?id=" + reportTableId;
             log.info("报表请求地址{}", url);
             String post = HttpUtil.post("http://" + printIp + ":8084" + printUrl + "?excelUrl=" + URLEncoder.encode(url, "UTF-8") + "&printConfig=" + JSONObject.toJSONString(printConfig), new HashMap<>());