本地开发
This commit is contained in:
Binary file not shown.
@@ -30,7 +30,13 @@ public class FileController {
|
||||
@PostMapping("/upload")
|
||||
public ResponseVO PostMapping(@RequestParam("file") MultipartFile file) {
|
||||
|
||||
final String upload = MinioUtil.upload(file, "/test");
|
||||
String upload = MinioUtil.upload(file, "/test");
|
||||
log.info("====================Upload==================");
|
||||
log.info("====================Upload==================");
|
||||
log.info("====================Upload==================");
|
||||
|
||||
upload = upload.replaceAll("http://172.16.2.1:9000","https://172.16.2.3:19443");
|
||||
|
||||
return ResponseVO.successResponse(upload);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user