From 8324f872ef3a4d0c978a9b1d062800c6a1701c12 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 01 十二月 2023 09:58:17 +0800 Subject: [PATCH] fix --- model/response/common.go | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/model/response/common.go b/model/response/common.go index 699292f..79457c5 100644 --- a/model/response/common.go +++ b/model/response/common.go @@ -79,10 +79,16 @@ SystemDeviceStatusUnNormal SystemDeviceStatus = 2 //寮傚父 ) +type Device struct { + DeviceID string `json:"deviceID"` + DeviceName string `json:"deviceName"` + NeedSetProcessParams bool `json:"needSetProcessParams"` //鏄惁闇�瑕佽缃伐鑹哄弬鏁� +} + type DeviceListResponse struct { SystemDeviceID string `json:"systemDeviceID,omitempty"` //宸ユ帶鏈鸿澶嘔D CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶� - DeviceIDList []string `json:"deviceIDList,omitempty"` //鐢熶骇璁惧id鍒楄〃 + DeviceList []*Device `json:"deviceList,omitempty"` //鐢熶骇璁惧id鍒楄〃 SystemDeviceStatus SystemDeviceStatus `json:"systemDeviceStatus"` //璁惧鐘舵�� ClusterStatus string `json:"clusterStatus"` //闆嗙兢鐘舵�� ClusterNodeQuantity int `json:"clusterNodeQuantity"` //闆嗙兢鑺傜偣鏁伴噺 -- Gitblit v1.8.0