apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/FavoriteService.java/FavoriteService/deleteFavorite
class FavoriteService:  public void deleteFavorite(long favoriteId) {
    Favorite favorite = favoriteRepository.findById(favoriteId).orElse(null);

    checkUserOperatePermission(favorite);

    favoriteRepository.delete(favorite);
  }