zhangqian
2023-10-10 94139ee1a04839135eb760b431f1212703d6cd86
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
   }