fix: 修复删除项目时验证权限的bug

This commit is contained in:
Captain.B 2021-05-31 11:48:16 +08:00 committed by 刘瑞斌
parent f86bcd6819
commit 2afd8fefc5
1 changed files with 0 additions and 1 deletions

View File

@ -103,7 +103,6 @@ public class ProjectController {
@GetMapping("/delete/{projectId}")
@MsAuditLog(module = "project_project_manager", type = OperLogConstants.DELETE, beforeEvent = "#msClass.getLogDetails(#projectId)", msClass = ProjectService.class)
public void deleteProject(@PathVariable(value = "projectId") String projectId) {
checkPermissionService.checkProjectOwner(projectId);
projectService.deleteProject(projectId);
}