From 4dbecd11d9418a005008737138b5f7081881d111 Mon Sep 17 00:00:00 2001 From: kale Date: Sat, 17 Jun 2023 19:29:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E6=89=93=E5=8D=B0=EF=BC=8C=E4=B8=80=E7=9B=B4=E6=89=BE=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=E6=8A=A5=E9=94=99=E7=9A=84=E8=AF=A6=E7=BB=86=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lp/util/ResultMapUtils.java | 3 ++- src/main/webapp/WEB-INF/oss/iot/monitor.jsp | 2 +- src/main/webapp/WEB-INF/wechat/iot/eaccount.jsp | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/lp/util/ResultMapUtils.java b/src/main/java/com/lp/util/ResultMapUtils.java index 8221f4d..87f3911 100644 --- a/src/main/java/com/lp/util/ResultMapUtils.java +++ b/src/main/java/com/lp/util/ResultMapUtils.java @@ -346,7 +346,8 @@ public class ResultMapUtils { putStatusCode(resultMap, Code.ResponseCode.SystemCode.ERROR); if (param != null && param.length > 0) { LogUtil.errorLog(new Object[] { param.getClass().getSimpleName() }, new Object[] { param }, e.getMessage()); - } + } + LogUtil4j.debugLogger.error("error: ", e); LogUtil.errorLog(e); } diff --git a/src/main/webapp/WEB-INF/oss/iot/monitor.jsp b/src/main/webapp/WEB-INF/oss/iot/monitor.jsp index d95b2b1..1a211b9 100644 --- a/src/main/webapp/WEB-INF/oss/iot/monitor.jsp +++ b/src/main/webapp/WEB-INF/oss/iot/monitor.jsp @@ -137,7 +137,7 @@ + autocomplete="off" placeholder="传感器名称" class="layui-input device_code"/> diff --git a/src/main/webapp/WEB-INF/wechat/iot/eaccount.jsp b/src/main/webapp/WEB-INF/wechat/iot/eaccount.jsp index e8f9e8d..3a6ffa5 100644 --- a/src/main/webapp/WEB-INF/wechat/iot/eaccount.jsp +++ b/src/main/webapp/WEB-INF/wechat/iot/eaccount.jsp @@ -115,6 +115,9 @@ forward('/wiot/maccount'); }, 300); } + else { + tip(data.statusMsg, 'e'); + } } $("#seq").picker({