fix:增加报错打印,一直找不到报错的详细信息

dev
kale 2023-06-17 19:29:13 +08:00
parent 586c5b3611
commit 4dbecd11d9
3 changed files with 6 additions and 2 deletions

View File

@ -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);
}

View File

@ -137,7 +137,7 @@
<input type="text" style="display: inline;width: 210px;margin-right: 20px;"
autocomplete="off" placeholder="设备号检索" class="layui-input device_code">
<input id="scene_name" type="text" style="display: inline;width: 210px;margin-right: 20px;"
autocomplete="off" placeholder="设备号名称" class="layui-input device_code"/>
autocomplete="off" placeholder="传感器名称" class="layui-input device_code"/>
<button type="button" onclick="searchDevice();" style="line-height: 34px;height:34px;"
class="layui-btn layui-btn-normal">检索
</button>

View File

@ -115,6 +115,9 @@
forward('/wiot/maccount');
}, 300);
}
else {
tip(data.statusMsg, 'e');
}
}
$("#seq").picker({