|
|
@ -100,7 +100,6 @@ public class FileController { |
|
|
|
@GetMapping("/download") |
|
|
|
public ResultBean download(@RequestParam(value = "filePath") String filePath, @RequestParam(value = "outFileName") String outFileName) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
|
|
|
|
File file = fileUploadComponent.findFileByPath(filePath); |
|
|
|
if (file == null) |
|
|
|
return rb.setMsg("文件不存在"); |
|
|
|