diff --git a/backend/src/main/java/io/metersphere/api/service/TestResultService.java b/backend/src/main/java/io/metersphere/api/service/TestResultService.java index da9992790c..fb4911b721 100644 --- a/backend/src/main/java/io/metersphere/api/service/TestResultService.java +++ b/backend/src/main/java/io/metersphere/api/service/TestResultService.java @@ -55,7 +55,6 @@ public class TestResultService { try { ApiTestReport report = null; ApiTestReportVariable reportTask = null; - String reportUrl = null; String planScenarioId = null; // 这部分后续优化只留 DEFINITION 和 SCENARIO 两部分 if (StringUtils.equals(runMode, ApiRunMode.DEBUG.name())) { @@ -129,9 +128,6 @@ public class TestResultService { reportTask.setExecutionEnvironment(name); SystemParameterService systemParameterService = CommonBeanFactory.getBean(SystemParameterService.class); assert systemParameterService != null; - BaseSystemConfigDTO baseSystemConfigDTO = systemParameterService.getBaseInfo(); - reportUrl = baseSystemConfigDTO.getUrl() + "/#/api/automation/report"; - } testResult.setTestId(scenarioReport.getScenarioId()); planScenarioId = scenarioReport.getTestPlanScenarioId(); diff --git a/frontend/src/business/components/api/definition/components/response/SqlResultTable.vue b/frontend/src/business/components/api/definition/components/response/SqlResultTable.vue index baf93f46c4..7a1f060a2e 100644 --- a/frontend/src/business/components/api/definition/components/response/SqlResultTable.vue +++ b/frontend/src/business/components/api/definition/components/response/SqlResultTable.vue @@ -24,102 +24,83 @@