消息发送

This commit is contained in:
2026-04-16 15:25:42 +08:00
parent 75b2db320f
commit 7511cb0ba8
3 changed files with 8 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ public class RabbitPublisher {
msg.put("shopId", shopId);
msg.put("data", data);
msg.put("printTypeEnum", printType);
rabbitTemplate.convertAndSend(exchange, queueName, msg);
rabbitTemplate.convertAndSend(exchange, queueName, JSONObject.toJSONString(msg));
}
public void sendOtherPrintLocalMsg(Long shopId, String printType, Long dataId) {