From d440849e7acbd04b389dae5f3bbb0769dacb264e Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 09 十月 2023 19:19:41 +0800
Subject: [PATCH] merge master

---
 api/v1/task.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/api/v1/task.go b/api/v1/task.go
index 2d66ffe..ce5b49d 100644
--- a/api/v1/task.go
+++ b/api/v1/task.go
@@ -388,7 +388,7 @@
 	}
 
 	plcConfig, code := service.NewDevicePlcService().GetDevicePlc()
-	if code != ecode.OK || plcConfig.Id == 0 {
+	if code != ecode.OK || plcConfig.ID == 0 {
 		ctx.FailWithMsg(ecode.NeedConfirmedErr, "璇峰厛閰嶇疆PLC")
 		return
 	}

--
Gitblit v1.8.0