feat:调整展示路径
This commit is contained in:
@@ -4,6 +4,7 @@ import com.bruce.rag.entity.RagDocument;
|
||||
import com.bruce.rag.service.IRagDocumentService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
@@ -15,11 +16,8 @@ import java.util.List;
|
||||
@RequestMapping("/api/rag/documents")
|
||||
public class RagDocumentController {
|
||||
|
||||
private final IRagDocumentService ragDocumentService;
|
||||
|
||||
public RagDocumentController(IRagDocumentService ragDocumentService) {
|
||||
this.ragDocumentService = ragDocumentService;
|
||||
}
|
||||
@Autowired
|
||||
private IRagDocumentService ragDocumentService;
|
||||
|
||||
@Operation(summary = "查询全部知识库文档")
|
||||
@GetMapping
|
||||
|
||||
Reference in New Issue
Block a user