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