From cacf363f222e354cad6db18c4a00fb1097d35c2c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 09 十一月 2023 14:30:58 +0800 Subject: [PATCH] fix --- model/common/common.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/model/common/common.go b/model/common/common.go index c84e16d..628054e 100644 --- a/model/common/common.go +++ b/model/common/common.go @@ -132,7 +132,8 @@ ID string `gorm:"comment:涓婚敭ID;primaryKey;type:varchar(191);" json:"id"` DeviceProcedureAttr []*DeviceProcedureAttr `json:"deviceProcedureAttr"` // 璁惧宸ュ簭灞炴�у垪琛� ExtChannelAmount int `gorm:"type:tinyint;comment:棰濆鐨勯�氶亾鏁伴噺;default:0;" json:"extChannelAmount"` - DeviceMac string `gorm:"type:varchar(191);comment:璁惧MAC" json:"deviceMac"` + DeviceName string `json:"deviceName"` + DeviceMac string `json:"deviceMac"` PlcAddressList []*PlcAddress PlcConfig *PlcConfig } -- Gitblit v1.8.0