修改
This commit is contained in:
@@ -38,7 +38,7 @@ public class MinioFileController {
|
||||
MultipartFile file = fileMap.values().iterator().next();
|
||||
log.info("接收到上传文件请求,fileName={}", file.getOriginalFilename());
|
||||
String relativePath = localFileService.upload(file);
|
||||
return R.success(relativePath);
|
||||
return R.data(relativePath);
|
||||
}
|
||||
|
||||
@GetMapping("/download")
|
||||
|
||||
Reference in New Issue
Block a user