diff --git a/backend/src/main/java/io/metersphere/log/utils/ApiDefinitionDiffUtil.java b/backend/src/main/java/io/metersphere/log/utils/ApiDefinitionDiffUtil.java index dabde05fce..1a31005ad9 100644 --- a/backend/src/main/java/io/metersphere/log/utils/ApiDefinitionDiffUtil.java +++ b/backend/src/main/java/io/metersphere/log/utils/ApiDefinitionDiffUtil.java @@ -324,6 +324,11 @@ public class ApiDefinitionDiffUtil { } private static void diffDubbo(MsDubboSampler dubboNew, MsDubboSampler dubboOld, JsonDiff jsonDiff, Map diffMap) { + // Config对比 + List interfaceColumns = getColumn(ReflexObjectUtil.getColumns(dubboNew.get_interface()), ReflexObjectUtil.getColumns(dubboOld.get_interface())); + if (CollectionUtils.isNotEmpty(interfaceColumns)) { + diffMap.put("interface", JSON.toJSONString(interfaceColumns)); + } // Config对比 List diffColumns = getColumn(ReflexObjectUtil.getColumns(dubboNew.getConfigCenter()), ReflexObjectUtil.getColumns(dubboOld.getConfigCenter())); if (CollectionUtils.isNotEmpty(diffColumns)) { diff --git a/backend/src/main/java/io/metersphere/log/vo/api/DefinitionReference.java b/backend/src/main/java/io/metersphere/log/vo/api/DefinitionReference.java index 8551b5c841..dbaac0ae2e 100644 --- a/backend/src/main/java/io/metersphere/log/vo/api/DefinitionReference.java +++ b/backend/src/main/java/io/metersphere/log/vo/api/DefinitionReference.java @@ -29,6 +29,7 @@ public class DefinitionReference { definitionColumns.put("response", "返回参数"); definitionColumns.put("description", "描述"); definitionColumns.put("followPeople", "关注人"); + definitionColumns.put("remark", "备注"); // 需要深度对比的字段,可以支持多个req1,req2 definitionColumns.put("ms-dff-col", "request,response,tags"); diff --git a/frontend/src/business/components/history/api/ApiDubboParameters.vue b/frontend/src/business/components/history/api/ApiDubboParameters.vue index 997207e97f..a4641cfc85 100644 --- a/frontend/src/business/components/history/api/ApiDubboParameters.vue +++ b/frontend/src/business/components/history/api/ApiDubboParameters.vue @@ -1,6 +1,25 @@