From fc85945b34f5051635aacf90446e8061a683fb2f Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 15 九月 2023 14:22:53 +0800 Subject: [PATCH] plc新建连接失败记录日志 --- nsq/msg_handler.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/nsq/msg_handler.go b/nsq/msg_handler.go index 9d1b5bf..b13dd4b 100644 --- a/nsq/msg_handler.go +++ b/nsq/msg_handler.go @@ -156,6 +156,8 @@ return nil } + resp.PlcConfig.Method.ConvertToEnglish() + var record model.DevicePlc err = mapstructure.Decode(resp.PlcConfig, &record) if err != nil { -- Gitblit v1.8.0