This commit is contained in:
Leo
2024-12-01 15:26:25 +08:00
parent 4ef5ae256b
commit eb02d7f825

View File

@@ -28,6 +28,7 @@ public class MessageConsumerService implements RocketMQListener<JSONObject> {
public void onMessage(JSONObject jsonObject) {
// 处理消息
try {
logger.info("消费到消息:{}", jsonObject);
String responseStr = HttpRequest.post(WX_BASE_URL)
.body(JSONUtil.toJsonStr(jsonObject))
.execute()