fix(用例管理): 修复接口url拼接

This commit is contained in:
guoyuqi 2024-02-20 10:14:57 +08:00 committed by 刘瑞斌
parent 95c1ade326
commit d3461b2b5f
1 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ public class CaseReviewController {
caseReviewService.associateCase(request, SessionUtils.getUserId());
}
@GetMapping("disassociate/{reviewId}/{caseId}")
@GetMapping("/disassociate/{reviewId}/{caseId}")
@Operation(summary = "用例管理-用例评审-取消关联用例")
@Log(type = OperationLogType.DISASSOCIATE, expression = "#msClass.disAssociateCaseLog(#reviewId, #caseId)", msClass = CaseReviewLogService.class)
@RequiresPermissions(PermissionConstants.CASE_REVIEW_RELEVANCE)
@ -140,7 +140,7 @@ public class CaseReviewController {
return caseReviewService.getCaseReviewDetail(id, SessionUtils.getUserId());
}
@PostMapping("batch/move")
@PostMapping("/batch/move")
@Operation(summary = "用例管理-用例评审-批量移动用例评审")
@RequiresPermissions(PermissionConstants.CASE_REVIEW_READ_UPDATE)
@CheckOwner(resourceId = "#request.getProjectId()", resourceType = "project")