增加日志

This commit is contained in:
mliu71
2025-07-21 15:51:43 +08:00
parent 7780c7b37a
commit 57836cbdd4

View File

@@ -36,6 +36,7 @@ public class TestController {
@PostMapping("/mockMq")
@ApiOperation(value = "补偿处理消息")
public ResultMsg<Object> mockMq(@RequestBody String message) {
log.info("mockMq message:{}", message);
JSONObject messageJson = JSONObject.parseObject(message);
rocketMQTemplate.syncSend(messageJson.getString("topic"), messageJson.getString("message"));
return ResultMsg.ok("ok");