yaozc
2023-03-20 d18c0bde988f8501ba84600f9d3d02f676a881e8
eladmin-master/eladmin-tools/src/main/java/me/zhengjie/rest/LocalStorageController.java
@@ -63,8 +63,8 @@
    @ApiOperation("上传文件")
    @PreAuthorize("@el.check('storage:add')")
    public ResponseEntity<Object> createFile(@RequestParam String name, @RequestParam("file") MultipartFile file){
        localStorageService.create(name, file);
        return new ResponseEntity<>(HttpStatus.CREATED);
        LocalStorage localStorage = localStorageService.create(null, file);
        return new ResponseEntity<>(localStorage, HttpStatus.CREATED);
    }
    @ApiOperation("上传图片")