Browse Source

只获取一个小程序

xueyiming 6 months ago
parent
commit
375cc45544

+ 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;
-    }
-
 }