fix(接口测试): 优化接口测试分享报告的查询方式,具体请求内容使用异步查询

优化接口测试分享报告的查询方式,具体请求内容使用异步查询
This commit is contained in:
song-tianyang 2023-03-20 15:28:37 +08:00 committed by 建国
parent a966f01d7c
commit 1684ed5f76
1 changed files with 2 additions and 2 deletions

View File

@ -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}")