You've already forked FrameTour-BE
删除人脸逻辑
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user