MQ消息发送类型修复

This commit is contained in:
qiminbao
2025-08-26 16:36:04 +08:00
parent 95377c9565
commit 6637647a49
@@ -137,7 +137,7 @@ public class AgentEndpoint {
@Override
public UpMsgResponse upHandle(String data, String clientId) {
JSONObject jsonObject = JSONObject.parseObject(data);
jsonObject.put("dataType",MsgEnum.CPU.getValue());
jsonObject.put("dataType",MsgEnum.磁盘.getValue());
MqMsg mqMsg = MqMsg.builder().topic(agentMqConfig.getAgentTopic()).content(jsonObject.toString()).build();
agentProducer.asyncSend(mqMsg);
JSONObject json = new JSONObject();