You've already forked FrameTour-BE
chore(AppFaceController): 移除人脸绑定功能的实现代码
- 注释掉 JWT 用户信息获取逻辑 - 移除人脸服务绑定调用 - 添加临时占位注释替代原有业务逻辑
This commit is contained in:
@@ -96,9 +96,7 @@ public class AppFaceController {
|
||||
// 绑定人脸
|
||||
@PostMapping("/{faceId}/bind")
|
||||
public ApiResponse<String> bind(@PathVariable Long faceId) {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
Long userId = worker.getUserId();
|
||||
faceService.bindFace(faceId, userId);
|
||||
// dummy item
|
||||
return ApiResponse.success("OK");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user