| | |
| | | @PostMapping(value = "/files-upload",produces = {MediaType.APPLICATION_JSON_UTF8_VALUE},consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | FileInfo feignUpload(@RequestPart("file") MultipartFile file,@RequestParam("imgType") String imgType); |
| | | |
| | | /** |
| | | * base64上传图片 |
| | | * @param file,imgType |
| | | * @param imgType 文件类型:X光片/医院Logo[Xray/Logo] |
| | | */ |
| | | @PostMapping(value = "/baseUplaod",produces = {MediaType.APPLICATION_JSON_UTF8_VALUE},consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | FileInfo baseUplaod(@RequestParam("file") String file,@RequestParam("imgType") String imgType); |
| | | |
| | | } |