zhangqian
2023-10-09 d6b81a185f55a0322c0d404c9048cfb0a47488b9
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
   }