问题修改
This commit is contained in:
@@ -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("文件不存在");
|
||||
|
||||
Reference in New Issue
Block a user