Bladeren bron

fix question

allen 2 jaren geleden
bovenliggende
commit
78e1da9a96
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      kgraph-graph/src/main/java/com/kgraph/graph/neo4j/controller/KgController.java

+ 1 - 2
kgraph-graph/src/main/java/com/kgraph/graph/neo4j/controller/KgController.java

@@ -96,8 +96,7 @@ public class KgController extends BaseController {
 
     @GetMapping("/question")
     public AjaxResult question(@RequestParam("text") String question) {
-//        String result = kgService.question(question);
-        String result = "question\n123\n456\n789";
+        String result = kgService.question(question);
         QuestionRecord questionRecord = new QuestionRecord();
         questionRecord.setQuestion(question);
         questionRecord.setResult(result);