1
This commit is contained in:
@@ -28,6 +28,7 @@ public class MessageConsumerService implements RocketMQListener<JSONObject> {
|
|||||||
public void onMessage(JSONObject jsonObject) {
|
public void onMessage(JSONObject jsonObject) {
|
||||||
// 处理消息
|
// 处理消息
|
||||||
try {
|
try {
|
||||||
|
logger.info("消费到消息:{}", jsonObject);
|
||||||
String responseStr = HttpRequest.post(WX_BASE_URL)
|
String responseStr = HttpRequest.post(WX_BASE_URL)
|
||||||
.body(JSONUtil.toJsonStr(jsonObject))
|
.body(JSONUtil.toJsonStr(jsonObject))
|
||||||
.execute()
|
.execute()
|
||||||
|
|||||||
Reference in New Issue
Block a user