Class PhotoController

java.lang.Object
io.github.seenings.photo.controller.PhotoController

@RestController @RequestMapping("/seen/rest-v1/photo/photo") public class PhotoController extends Object

图像 前端控制器

  • Constructor Details

    • PhotoController

      public PhotoController()
  • Method Details

    • upload

      @PostMapping("upload") public io.github.seenings.common.model.R<Integer> upload(@SessionAttribute("userId") Long userId, org.springframework.web.multipart.MultipartFile file)
    • uploads

      @PostMapping("uploads") public io.github.seenings.common.model.R<List<Integer>> uploads(@SessionAttribute Long userId, List<org.springframework.web.multipart.MultipartFile> files)