Commit 194f90af by 裴大威

edit zipkin

parent 9bbf4f5b
...@@ -34,7 +34,7 @@ spring: ...@@ -34,7 +34,7 @@ spring:
db: ${spring.application.name} db: ${spring.application.name}
enabled: true enabled: true
zipkin: zipkin:
base-url: http://192.168.1.175:9399 base-url: http://192.168.8.251:9399
sender: sender:
type: rabbit type: rabbit
rabbitmq: rabbitmq:
......
...@@ -209,7 +209,7 @@ public class PictureUtil { ...@@ -209,7 +209,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.1.7:8216/transcode/htm2img/jpg", JSON.toJSONString(param)); String postResult = HttpKit.post("http://192.168.8.156: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