You've already forked FrameTour-BE
feat(face): 添加人脸绑定功能
- 实现了 faceId 绑定接口 - 集成了人脸识别服务匹配功能 - 添加了绑定状态参数支持
This commit is contained in:
@@ -97,6 +97,7 @@ public class AppFaceController {
|
|||||||
@PostMapping("/{faceId}/bind")
|
@PostMapping("/{faceId}/bind")
|
||||||
public ApiResponse<String> bind(@PathVariable Long faceId) {
|
public ApiResponse<String> bind(@PathVariable Long faceId) {
|
||||||
// dummy item
|
// dummy item
|
||||||
|
faceService.matchFaceId(faceId, true);
|
||||||
return ApiResponse.success("OK");
|
return ApiResponse.success("OK");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user