You've already forked FrameTour-BE
1
This commit is contained in:
@@ -31,7 +31,7 @@ public interface FaceService {
|
||||
|
||||
SearchFaceRespVo matchFaceId(Long faceId, boolean isNew);
|
||||
|
||||
ApiResponse deleteFace(Long faceId);
|
||||
ApiResponse<String> deleteFace(Long faceId);
|
||||
|
||||
List<ContentPageVO> faceContentList(Long faceId);
|
||||
|
||||
|
@@ -310,7 +310,7 @@ public class FaceServiceImpl implements FaceService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ApiResponse deleteFace(Long faceId) {
|
||||
public ApiResponse<String> deleteFace(Long faceId) {
|
||||
FaceEntity face = faceRepository.getFace(faceId);
|
||||
faceMapper.deleteById(faceId);
|
||||
faceRepository.clearFaceCache(faceId);
|
||||
|
Reference in New Issue
Block a user