zhangqian
2023-10-11 5036de7ca06a7a04a45642b80db644a55062cd68
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
   }