启动页随机

This commit is contained in:
2025-01-02 17:59:50 +08:00
parent 326d24aba9
commit 9f9171e7af

View File

@@ -262,6 +262,7 @@ public class ResourceServiceImpl extends ServiceImpl<ResourceMapper, Resource> i
if (CollectionUtil.isEmpty(resources)) {
return splash;
}
Collections.shuffle(resources);
Resource resource = resources.get(0);
Integer skipType = resource.getSkipType();
String skipContent = resource.getSkipContent();