From bc0b7e914a378b2c40f9d2ec2470b61a19c18288 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期五, 11 八月 2023 17:05:02 +0800
Subject: [PATCH] 修改上报的数据结构, 添加plc查询接口

---
 msg/msg.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/msg/msg.go b/msg/msg.go
index 09d2504..e4000ff 100644
--- a/msg/msg.go
+++ b/msg/msg.go
@@ -24,7 +24,6 @@
 	DeviceName string    `json:"deviceName"`
 	DeviceIP   string    `json:"deviceIp"`
 	Online     bool      `json:"online"`
-	Message    string    `json:"message"`
 	PLCData    []PLCData `json:"plcData"`
 }
 
@@ -34,6 +33,7 @@
 	Type         string `json:"type"`         // 鏁版嵁绫诲瀷
 	FieldName    string `json:"fieldName"`    // 瀵瑰簲绯荤粺瀛楁
 	RawData      []byte `json:"rawData"`      // 浠巔lc璇诲彇鐨勫師濮嬫暟鎹�
+	Message      string `json:"message"`
 }
 
 type ApsDeviceApiResponse struct {

--
Gitblit v1.8.0