kidgrow-business/kidgrow-filecenter/kidgrow-filecenter-server/src/main/java/com/kidgrow/filecenter/controller/FileController.java
@@ -61,6 +61,13 @@ public FileInfo thUpload(@RequestPart("file") MultipartFile file,@RequestParam String imgType) throws Exception { return fileService.uploadForThumbnails(file,imgType); } /** * 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); } /** * 文件删除