mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
fix(FileController.java): swagger存储桶字段名称错误修正
This commit is contained in:
parent
5571474626
commit
4634384f87
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user