fix 舆情自动化图片分析代码

This commit is contained in:
lxu75
2025-03-10 19:33:11 +08:00
parent 0220204118
commit 79947f450f

View File

@@ -70,7 +70,7 @@ public class TestController {
@PostMapping("/mockMq") @PostMapping("/mockMq")
@ApiOperation(value = "补偿处理消息") @ApiOperation(value = "补偿处理消息")
public ResultMsg<Object> mockMq(@RequestBody String message) { public ResultMsg<Object> mockMq(@RequestBody String message) {
rocketMQTemplate.syncSend("COMMUNITY_POST_TO_AI_TOPIC", JSON.toJSONString(message)); rocketMQTemplate.syncSend("COMMUNITY_POST_TO_AI_TOPIC", message);
return ResultMsg.ok("ok"); return ResultMsg.ok("ok");
} }
} }