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

This commit is contained in:
lxu75
2025-03-10 19:20:10 +08:00
parent fe5caeb877
commit 7949c935a2

View File

@@ -69,7 +69,7 @@ public class TestController {
@PostMapping("/mockMq") @PostMapping("/mockMq")
@ApiOperation(value = "补偿处理消息") @ApiOperation(value = "补偿处理消息")
public ResultMsg<Object> mockMq( 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", JSON.toJSONString(message));
return ResultMsg.ok("ok"); return ResultMsg.ok("ok");
} }