|
@ -21,7 +21,6 @@ public class UploadController { |
|
|
|
|
|
|
|
|
@PostMapping |
|
|
@PostMapping |
|
|
public Result upload(MultipartFile file) { |
|
|
public Result upload(MultipartFile file) { |
|
|
|
|
|
|
|
|
String fileName = UploadUtil.save(file,path); |
|
|
String fileName = UploadUtil.save(file,path); |
|
|
return Result.success(fileName); |
|
|
return Result.success(fileName); |
|
|
} |
|
|
} |
|
|