修改人:邹江涛

修改内容:API映射公共单据
修改时间:2024/11/20
This commit is contained in:
zoujiangtao 2024-11-20 16:28:18 +08:00
parent 8824c71002
commit 398bbe6578
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
for (String key : json.keySet()) { for (String key : json.keySet()) {
Object value = json.get(key); Object value = json.get(key);
String type = value instanceof JSONObject ? "对象" : value instanceof JSONArray ? "数组" : value.getClass().getSimpleName(); String type = value instanceof JSONObject ? "对象" : value instanceof JSONArray ? "数组" : value.getClass().getSimpleName();
String defaultValue = value instanceof JSONObject || value instanceof JSONArray ? "" : value.toString(); String defaultValue = value instanceof JSONObject || value instanceof JSONArray ? "" : value.toString();
setEntryEntity(key, level, type, defaultValue, parentKey); setEntryEntity(key, level, type, defaultValue, parentKey);
if (value instanceof JSONObject) { if (value instanceof JSONObject) {
parseJson(value, level + 1, key); parseJson(value, level + 1, key);