Class UserIntroducePhotoController

java.lang.Object
io.github.seenings.introduce.controller.UserIntroducePhotoController
All Implemented Interfaces:
io.github.seenings.introduce.http.HttpUserIntroducePhotoService

@RestController public class UserIntroducePhotoController extends Object implements io.github.seenings.introduce.http.HttpUserIntroducePhotoService
UserIntroducePhotoController
Since:
2022-11-27
Author:
chixuehui
  • Constructor Details

    • UserIntroducePhotoController

      public UserIntroducePhotoController()
  • Method Details

    • userIdToIntroduceTypeAndPhoto

      public Map<Long, Set<io.github.seenings.introduce.model.IntroduceTypeAndPhoto>> userIdToIntroduceTypeAndPhoto(Set<Long> userIds)
      根据用户ID获取介绍信息对应关系
      Specified by:
      userIdToIntroduceTypeAndPhoto in interface io.github.seenings.introduce.http.HttpUserIntroducePhotoService
      Parameters:
      userIds - 用户ID
      Returns:
      用户ID对应介绍信息对应关系
    • saveAndReturnId

      public Set<Integer> saveAndReturnId(List<io.github.seenings.introduce.model.OrderAndPhotoId> orderAndPhotoIds, Integer max, io.github.seenings.introduce.enumeration.IntroduceTypeEnum introduceTypeEnum, Long userId)
      存入多个照片
      Specified by:
      saveAndReturnId in interface io.github.seenings.introduce.http.HttpUserIntroducePhotoService
      Parameters:
      orderAndPhotoIds - 介绍照片
      userId - 用户ID
      Returns:
      存入的介绍照片信息ID