This commit is contained in:
luke 2025-06-18 00:47:41 +08:00
parent 6c22b72094
commit aa4e995410

View File

@ -22,6 +22,7 @@ import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.index.reindex.DeleteByQueryRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -47,6 +48,7 @@ public class FileWriteController {
private final ObjectStorageGateway objectStorageGateway;
private final ObjectStorageProperties objectStorageProperties;
@Autowired
private List<DocumentImporter> importers;
@PostMapping("/addUserFileAuth")