Commit d2b21c0d by 田超

modify path

parent dcf2bcb3
...@@ -213,7 +213,7 @@ public class PictureUtil { ...@@ -213,7 +213,7 @@ public class PictureUtil {
header.put("Content-Type", "application/json"); header.put("Content-Type", "application/json");
Map<String,String>param = new HashMap<>(); Map<String,String>param = new HashMap<>();
param.put("htmlCode",html); param.put("htmlCode",html);
String postResult = HttpKit.post("http://192.168.92.111:8214/transcode/htm2img/jpg", JSON.toJSONString(param)); String postResult = HttpKit.post("http://192.168.1.7:8216/transcode/htm2img/jpg", JSON.toJSONString(param));
Map map = JSONUtils.jsonToMap(postResult, String.class, String.class); Map map = JSONUtils.jsonToMap(postResult, String.class, String.class);
String pic = (String)map.get("data"); String pic = (String)map.get("data");
BufferedImage bookPicImage = ImageIO.read(new URL(pic)); BufferedImage bookPicImage = ImageIO.read(new URL(pic));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment