zhoupeng 1 年之前
父節點
當前提交
de3d4b08c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cqcy-ei/cqcy-ei-da/src/main/java/com/example/opc_da/task/PrintTask.java

+ 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<>());