| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RequestPart; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | |
| | | /** |
| | | * 根据条件查询 |
| | | * @param file |
| | | * @param imgType 文件类型:X光片/医院Logo[Xray/Logo] |
| | | */ |
| | | @PostMapping(value = "/files-upload",produces = {MediaType.APPLICATION_JSON_UTF8_VALUE},consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | FileInfo feignUpload(@RequestPart("file") MultipartFile file); |
| | | |
| | | FileInfo feignUpload(@RequestPart("file") MultipartFile file,@RequestParam("imgType") String imgType); |
| | | |
| | | } |