Class InfoServiceImpl
java.lang.Object
io.github.seenings.info.service.impl.InfoServiceImpl
- All Implemented Interfaces:
InfoService
用户信息 服务实现类
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintroduceTypeIndexToPersonIntroduce(Set<Integer> introduceTypeIndexes, Long userId) 根据介绍类型获取介绍内容userIdToBasicInfo(Set<Long> userIds) 根据用户ID获取基本信息userIdToPersonIntroduce(Set<Long> userIds) userIdToProfilePhotoId(Set<Long> userIds) 根据用户ID获取用户头像照片IDuserIdToUserChatInfo(Set<Long> userIds, Long selfUserId) userIdToUserInfo(Set<Long> userIds) 根据用户ID获取用户信息userIdToUserIntroduceInfo(Set<Long> userIds) userIdToUserName(Set<Long> userIds) 根据用户ID获取用户名字
-
Constructor Details
-
InfoServiceImpl
public InfoServiceImpl()
-
-
Method Details
-
userIdToUserInfo
根据用户ID获取用户信息- Specified by:
userIdToUserInfoin interfaceInfoService- Parameters:
userIds- 用户ID- Returns:
- 用户ID对应用户信息
-
userIdToUserName
根据用户ID获取用户名字- Specified by:
userIdToUserNamein interfaceInfoService- Parameters:
userIds- 用户ID- Returns:
- 用户ID对应用户名字
-
userIdToProfilePhotoId
根据用户ID获取用户头像照片ID- Specified by:
userIdToProfilePhotoIdin interfaceInfoService- Parameters:
userIds- 用户ID- Returns:
- 用户ID对应用户头像照片ID
-
userIdToUserIntroduceInfo
public Map<Long, io.github.seenings.info.model.UserIntroduceInfo> userIdToUserIntroduceInfo(@RequestBody Set<Long> userIds) - Specified by:
userIdToUserIntroduceInfoin interfaceInfoService
-
userIdToBasicInfo
根据用户ID获取基本信息- Specified by:
userIdToBasicInfoin interfaceInfoService- Parameters:
userIds- 用户ID- Returns:
- 用户ID对应基本信息
-
userIdToPersonIntroduce
public Map<Long, List<io.github.seenings.info.model.PersonIntroduce>> userIdToPersonIntroduce(Set<Long> userIds) - Specified by:
userIdToPersonIntroducein interfaceInfoService
-
introduceTypeIndexToPersonIntroduce
public Map<Integer, io.github.seenings.info.model.PersonIntroduce> introduceTypeIndexToPersonIntroduce(Set<Integer> introduceTypeIndexes, Long userId) 根据介绍类型获取介绍内容- Specified by:
introduceTypeIndexToPersonIntroducein interfaceInfoService- Parameters:
introduceTypeIndexes- 介绍类型userId- 用户ID- Returns:
- 介绍类型对应介绍内容
-
userIdToUserChatInfo
public Map<Long, io.github.seenings.chat.model.UserChatInfo> userIdToUserChatInfo(Set<Long> userIds, Long selfUserId) - Specified by:
userIdToUserChatInfoin interfaceInfoService
-