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