统计美化
This commit is contained in:
@@ -59,7 +59,7 @@ public class MessageConsumerService implements RocketMQListener<JSONObject> {
|
||||
// ... [保持原有响应处理逻辑]
|
||||
if (ObjectUtil.isNotEmpty(responseStr)) {
|
||||
JSONObject response = JSONObject.parseObject(responseStr);
|
||||
//logger.info("消息成功发送并得到响应:{}", response);
|
||||
logger.info("消息成功发送并得到响应:{}", response);
|
||||
if (response.getInteger("code") != 200) {
|
||||
// TODO: 如果需要处理错误,您可以在这里添加逻辑
|
||||
wxtsUtil.sendNotify("消息发送失败: " + responseStr);
|
||||
|
||||
Reference in New Issue
Block a user