提交 4634384f 编写于 作者: 郝先瑞

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

上级 55714746
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册