Class PhotoResourceServiceImpl

java.lang.Object
io.github.seenings.file.service.impl.PhotoResourceServiceImpl
All Implemented Interfaces:
io.github.seenings.file.service.PhotoResourceService

@Service public class PhotoResourceServiceImpl extends Object implements io.github.seenings.file.service.PhotoResourceService
照片资源
  • Constructor Details

    • PhotoResourceServiceImpl

      public PhotoResourceServiceImpl()
  • Method Details

    • photoIdToInputStream

      public InputStream photoIdToInputStream(Integer photoId)
      根据照片ID获取文件流
      Specified by:
      photoIdToInputStream in interface io.github.seenings.file.service.PhotoResourceService
      Parameters:
      photoId - 照片ID
      Returns:
      文件流