| | |
| | | import com.kidgrow.filecenter.feign.fallback.FileServiceFallbackFactory; |
| | | import com.kidgrow.filecenter.model.FileInfo; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestPart; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | * 根据条件查询 |
| | | * @param file |
| | | */ |
| | | @PostMapping(value = "/files-anon") |
| | | @PostMapping(value = "/files-anon",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | FileInfo upload(@RequestPart("file") MultipartFile file); |
| | | } |