修改新用户注册添加键盘人设的数量
This commit is contained in:
@@ -87,7 +87,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
"/ai-companion/report",
|
||||
"/apple/notification",
|
||||
"/google-play/rtdn",
|
||||
"/appVersions/checkUpdate"
|
||||
"/appVersions/checkUpdate",
|
||||
"/appVersions/checkUpdate",
|
||||
"/character/detailWithNotLogin"
|
||||
};
|
||||
|
||||
@@ -273,7 +273,7 @@ public class KeyboardCharacterServiceImpl extends ServiceImpl<KeyboardCharacterM
|
||||
KeyboardUserCharacterAddDTO keyboardUserCharacterAddDTO = new KeyboardUserCharacterAddDTO();
|
||||
|
||||
// 获取所有人设列表(未登录状态),并限制取前5个
|
||||
Stream<KeyboardCharacterRespVO> limit = selectListWithNotLoginRank(null).stream().limit(5);
|
||||
Stream<KeyboardCharacterRespVO> limit = selectListWithNotLoginRank(null).stream();
|
||||
|
||||
// 遍历前5个人设,为用户添加默认人设
|
||||
limit.forEach(character -> {
|
||||
|
||||
Reference in New Issue
Block a user