| | |
| | | * base64上传图片 |
| | | */ |
| | | @PostMapping(value="baseUplaod",produces = {MediaType.APPLICATION_JSON_UTF8_VALUE},consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | public FileInfo baseUplaod(@RequestParam("file") String file,@RequestParam("imgType") String imgType){ |
| | | return fileService.baseUplaod(file,imgType); |
| | | public FileInfo baseUplaod(@RequestParam("file") String file,@RequestParam("imgType") String imgType, |
| | | @RequestParam("hospitalId") String hospitalId,@RequestParam("departmentId") String departmentId){ |
| | | return fileService.baseUplaod(file,imgType,hospitalId,departmentId); |
| | | } |
| | | /** |
| | | * base64图片下载 |