fix(FileController.java): swagger存储桶字段名称错误修正

This commit is contained in:
郝先瑞 2022-04-10 11:36:41 +08:00
parent 5571474626
commit 4634384f87

View File

@ -23,7 +23,7 @@ public class FileController {
@SneakyThrows
public Result<String> uploadFile(
@ApiParam("文件") @RequestParam(value = "file") MultipartFile file,
@ApiParam("存储桶名称(非必须,微服务有单独默认存储桶)") @RequestParam(value = "file", required = false) String bucketName
@ApiParam("存储桶名称(非必须,微服务有单独默认存储桶)") @RequestParam(value = "bucketName", required = false) String bucketName
) {
String path = minioService.putObject(file, bucketName);
return Result.success(path);