From 0ed7e50f3886cb137acab33f513d31888d7c741f Mon Sep 17 00:00:00 2001 From: zoujiangtao Date: Thu, 19 Dec 2024 16:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=86=85=E5=AE=B9=EF=BC=9ABI?= =?UTF-8?q?P=E6=8F=90=E4=BA=A4=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8=20?= =?UTF-8?q?=E5=A4=87=E6=B3=A8=EF=BC=9ABIP=E6=8F=90=E4=BA=A4=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B0=83=E7=94=A8=20=E6=8F=90=E4=BA=A4=E4=BA=BA?= =?UTF-8?q?=EF=BC=9A=E9=82=B9=E6=B1=9F=E6=B6=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java index 1878226..4b419f9 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/plugin/form/ApiMappingBillPlugin.java @@ -100,9 +100,11 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin { String text = codeEdit.getText(); Object obj = JSON.parse(text); if (obj instanceof JSONObject) { + logger.info("解析JSON字符串 → text:{}\nJSON字符串解析为JSONObject", text); JSONObject jsonObject = JSON.parseObject(text); parseJson(jsonObject, 1, null); } else if (obj instanceof JSONArray) { + logger.info("解析JSON字符串 → text:{}\nJSON字符串解析为JSONArray", text); JSONArray jsonArray = JSON.parseArray(text); parseJson(jsonArray, 1, null); }