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