소스 검색

只获取一个小程序

xueyiming 9 달 전
부모
커밋
375cc45544
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

+ 0 - 7
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

@@ -295,11 +295,4 @@ public class ContentServiceImpl implements ContentService {
         return new ArrayList<>();
     }
 
-    private <T> List<T> shuffleList(List<T> oriList) {
-        // 使用 ArrayList 创建副本
-        List<T> shuffledList = new ArrayList<>(oriList);
-        Collections.shuffle(shuffledList); // 随机打乱列表
-        return shuffledList;
-    }
-
 }