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