删除人脸逻辑

This commit is contained in:
2025-02-24 10:31:24 +08:00
parent 6bb9b053ab
commit 84bb5727e9
8 changed files with 37 additions and 1 deletions

View File

@@ -59,6 +59,11 @@ AppFaceController {
return faceService.getById(faceId);
}
@DeleteMapping("/{faceId}")
public ApiResponse deleteFace(@PathVariable("faceId") Long faceId) {
return faceService.deleteFace(faceId);
}
@PostMapping("/{faceId}/match")
public ApiResponse match(@PathVariable("faceId") Long faceId) {
faceService.matchFaceId(faceId);