提交 40a5522d authored 作者: xc's avatar xc

xc

上级 bfe5904f
...@@ -177,8 +177,8 @@ public class CanalClientExample implements CommandLineRunner { ...@@ -177,8 +177,8 @@ public class CanalClientExample implements CommandLineRunner {
String jsonStr = JSONObject.toJSONString(changeData); String jsonStr = JSONObject.toJSONString(changeData);
System.out.println(jsonStr); System.out.println(jsonStr);
try { try {
HttpUtils.sendPost("http://localhost:8080/test/add", jsonStr); // HttpUtils.sendPost("http://localhost:8080/test/add", jsonStr);
// HttpUtils.sendPost("http://localhost:8086/producer/receive", jsonStr); HttpUtils.sendPost("http://localhost:8086/producer/receive", jsonStr);
} catch (UnsupportedEncodingException e) { } catch (UnsupportedEncodingException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论