From aab066ab2d90d235848f67d4aac3b15c8f778b3c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 19 八月 2023 18:37:07 +0800
Subject: [PATCH] 增加获取完成进度接口

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

diff --git a/model/device_plc.go b/model/device_plc.go
index 9fe1119..ae1e43c 100644
--- a/model/device_plc.go
+++ b/model/device_plc.go
@@ -12,7 +12,7 @@
 	// DevicePlc 璁惧鐨凱LC閰嶇疆
 	DevicePlc struct {
 		gorm.Model `json:"-"`
-		Id         int    `gorm:"primarykey;type:int;"`
+		Id         int    `gorm:"primarykey;type:int;" json:"id"`
 		Brand      string `gorm:"type:varchar(191);comment:PLC鍝佺墝" json:"brand"`
 		Method     string `gorm:"type:varchar(191);comment:鎺ュ彛鏂瑰紡" json:"method"`
 		PortName   string `gorm:"type:varchar(191);comment:绔彛鍚嶇О" json:"portName"`

--
Gitblit v1.8.0