Class PhotoDoServiceImpl

java.lang.Object
io.github.seenings.photo.service.impl.PhotoDoServiceImpl
All Implemented Interfaces:
io.github.seenings.photo.service.PhotoDoService

@Service public class PhotoDoServiceImpl extends Object implements io.github.seenings.photo.service.PhotoDoService
照片处理
  • Constructor Details

    • PhotoDoServiceImpl

      public PhotoDoServiceImpl()
  • Method Details

    • photoIdToPhotoUrl

      public Map<Integer,String> photoIdToPhotoUrl(Set<Integer> photoIds)
      根据照片ID获取照片路径
      Specified by:
      photoIdToPhotoUrl in interface io.github.seenings.photo.service.PhotoDoService
      Parameters:
      photoIds - 照片ID
      Returns:
      照片ID对应照片路径
    • photoIdToStorageTypeAndPath

      public Map<Integer, io.github.seenings.file.model.StorageTypeAndPath> photoIdToStorageTypeAndPath(Set<Integer> photoIds)
      根据照片ID获取文件
      Specified by:
      photoIdToStorageTypeAndPath in interface io.github.seenings.photo.service.PhotoDoService
      Parameters:
      photoIds - 照片ID
      Returns:
      照片ID对应文件
    • photoIdToFileName

      public Map<Integer,String> photoIdToFileName(Set<Integer> photoIds)
      根据照片ID获取文件名
      Specified by:
      photoIdToFileName in interface io.github.seenings.photo.service.PhotoDoService
      Parameters:
      photoIds - 照片ID
      Returns:
      照片ID对应文件名