修改新用户注册添加键盘人设的数量

This commit is contained in:
2026-04-03 16:14:08 +08:00
parent 5220a22cbd
commit dbc7ee365d
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
"/ai-companion/report", "/ai-companion/report",
"/apple/notification", "/apple/notification",
"/google-play/rtdn", "/google-play/rtdn",
"/appVersions/checkUpdate" "/appVersions/checkUpdate",
"/appVersions/checkUpdate", "/appVersions/checkUpdate",
"/character/detailWithNotLogin" "/character/detailWithNotLogin"
}; };

View File

@@ -273,7 +273,7 @@ public class KeyboardCharacterServiceImpl extends ServiceImpl<KeyboardCharacterM
KeyboardUserCharacterAddDTO keyboardUserCharacterAddDTO = new KeyboardUserCharacterAddDTO(); KeyboardUserCharacterAddDTO keyboardUserCharacterAddDTO = new KeyboardUserCharacterAddDTO();
// 获取所有人设列表未登录状态并限制取前5个 // 获取所有人设列表未登录状态并限制取前5个
Stream<KeyboardCharacterRespVO> limit = selectListWithNotLoginRank(null).stream().limit(5); Stream<KeyboardCharacterRespVO> limit = selectListWithNotLoginRank(null).stream();
// 遍历前5个人设为用户添加默认人设 // 遍历前5个人设为用户添加默认人设
limit.forEach(character -> { limit.forEach(character -> {