Commit 9828ad32 authored by Java-Yue Chunyong's avatar Java-Yue Chunyong

send

parent fcfc40ba
...@@ -48,7 +48,7 @@ public class RabbitMqSend implements RabbitTemplate.ConfirmCallback { ...@@ -48,7 +48,7 @@ public class RabbitMqSend implements RabbitTemplate.ConfirmCallback {
CorrelationData correlationId = new CorrelationData(UUID.randomUUID().toString()); CorrelationData correlationId = new CorrelationData(UUID.randomUUID().toString());
String obj = null; String obj = null;
try { try {
obj = MAPPER.writeValueAsString(""); obj = MAPPER.writeValueAsString(content);
} catch (JsonProcessingException e) { } catch (JsonProcessingException e) {
throw new RuntimeException("序列化json失败"); throw new RuntimeException("序列化json失败");
} }
......
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