fix: 修复删除项目时验证权限的bug
This commit is contained in:
parent
f86bcd6819
commit
2afd8fefc5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue