chore(AppFaceController): 移除人脸绑定功能的实现代码

- 注释掉 JWT 用户信息获取逻辑
- 移除人脸服务绑定调用
- 添加临时占位注释替代原有业务逻辑
This commit is contained in:
2026-01-10 14:47:58 +08:00
parent 05e269a305
commit d02aca9bf1

View File

@@ -96,9 +96,7 @@ public class AppFaceController {
// 绑定人脸 // 绑定人脸
@PostMapping("/{faceId}/bind") @PostMapping("/{faceId}/bind")
public ApiResponse<String> bind(@PathVariable Long faceId) { public ApiResponse<String> bind(@PathVariable Long faceId) {
JwtInfo worker = JwtTokenUtil.getWorker(); // dummy item
Long userId = worker.getUserId();
faceService.bindFace(faceId, userId);
return ApiResponse.success("OK"); return ApiResponse.success("OK");
} }