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 }