前端大图展示逻辑
All checks were successful
Gitea/FrameTour-BE/pipeline/head This commit looks good

This commit is contained in:
2025-07-23 10:15:18 +08:00
parent 4d53986277
commit 1059d30c21
8 changed files with 54 additions and 1 deletions

View File

@@ -78,4 +78,13 @@ AppFaceController {
List<ContentPageVO> contentPageVOS = faceService.faceContentList(faceId);
return ApiResponse.success(contentPageVOS);
}
@ApiOperation("绑定人脸")
@PostMapping("/{faceId}/bind")
public ApiResponse<String> bind(@PathVariable Long faceId) {
JwtInfo worker = JwtTokenUtil.getWorker();
Long userId = worker.getUserId();
faceService.bindFace(faceId, userId);
return ApiResponse.success("OK");
}
}