修正getPostsByNeighbor的bug