You've already forked FrameTour-BE
逻辑修改
This commit is contained in:
@@ -35,18 +35,7 @@ AppFaceController {
|
||||
*/
|
||||
@ApiOperation("人脸照片上传")
|
||||
@PostMapping("/faceUPload")
|
||||
public ApiResponse faceUPload(@RequestParam("file")MultipartFile file, @RequestParam("scenicId") Long scenicId) {
|
||||
|
||||
public ApiResponse faceUpload(@RequestParam("file")MultipartFile file, @RequestParam("scenicId") Long scenicId) {
|
||||
return faceService.faceUpload(file,scenicId);
|
||||
}
|
||||
|
||||
@ApiOperation("查询人脸照片信息")
|
||||
@GetMapping("/getFaceData")
|
||||
public ApiResponse<FaceRespVO> getFaceData() {
|
||||
JwtInfo worker = JwtTokenUtil.getWorker();
|
||||
return faceService.getFaceByMemberId(worker.getUserId());
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user