From 099afd5c81d0e076a76c3846e014191ddf432aec Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 20 Mar 2023 15:28:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E6=8A=A5=E5=91=8A=E7=9A=84=E6=9F=A5=E8=AF=A2=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=85=B7=E4=BD=93=E8=AF=B7=E6=B1=82=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=BD=BF=E7=94=A8=E5=BC=82=E6=AD=A5=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 优化接口测试分享报告的查询方式,具体请求内容使用异步查询 --- .../controller/scenario/ApiScenarioReportController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java b/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java index 27a9e8f1db..8da93030f3 100644 --- a/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java +++ b/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java @@ -19,9 +19,9 @@ import io.metersphere.log.annotation.MsAuditLog; import io.metersphere.notice.annotation.SendNotice; import io.metersphere.service.ShareInfoService; import io.metersphere.service.scenario.ApiScenarioReportService; +import jakarta.annotation.Resource; import org.springframework.web.bind.annotation.*; -import jakarta.annotation.Resource; import java.util.List; import java.util.Map; @@ -42,7 +42,7 @@ public class ApiScenarioReportController { @GetMapping("/get/{shareId}/{reportId}") public ApiScenarioReportResult get(@PathVariable String shareId, @PathVariable String reportId) { shareInfoService.validateExpired(shareId); - return apiReportService.get(reportId, true); + return apiReportService.get(reportId, false); } @GetMapping("/get/detail/{reportId}")