提交内容:BIP提交接口调用

备注:BIP提交接口调用
提交人:邹江涛
This commit is contained in:
zoujiangtao 2024-12-19 17:01:09 +08:00
parent 790985e350
commit 0828d5aa0c
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
if ("shkd_analyzejson".equals(itemKey)) { if ("shkd_analyzejson".equals(itemKey)) {
String text = codeEdit.getText(); String text = codeEdit.getText();
Object obj = JSON.parse(text); Object obj = JSON.parse(text);
logger.info("解析JSON字符串 → text{}\nJSON字符串解析为JSON", text);
if (obj instanceof JSONObject) { if (obj instanceof JSONObject) {
logger.info("解析JSON字符串 → text{}\nJSON字符串解析为JSONObject", text); logger.info("解析JSON字符串 → text{}\nJSON字符串解析为JSONObject", text);
JSONObject jsonObject = JSON.parseObject(text); JSONObject jsonObject = JSON.parseObject(text);