You've already forked FrameTour-BE
chore(AppFaceController): 移除人脸绑定功能的实现代码
- 注释掉 JWT 用户信息获取逻辑 - 移除人脸服务绑定调用 - 添加临时占位注释替代原有业务逻辑
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user