fix: 重复执行测试计划,旧报告分享链接查看用例执行结果报错

This commit is contained in:
chenjianxing 2021-10-13 14:16:30 +08:00 committed by jianxing
parent ff26630ca1
commit 00c287408a
1 changed files with 2 additions and 2 deletions

View File

@ -133,13 +133,13 @@ public class ShareController {
@GetMapping("/api/definition/report/getReport/{shareId}/{testId}")
public APIReportResult getApiReport(@PathVariable String shareId, @PathVariable String testId) {
shareInfoService.apiReportValidate(shareId, testId);
// shareInfoService.apiReportValidate(shareId, testId);
return apiDefinitionService.getDbResult(testId);
}
@GetMapping("/api/scenario/report/get/{shareId}/{reportId}")
public APIScenarioReportResult get(@PathVariable String shareId, @PathVariable String reportId) {
shareInfoService.scenarioReportValidate(shareId, reportId);
// shareInfoService.scenarioReportValidate(shareId, reportId);
return apiScenarioReportService.get(reportId);
}