|
@@ -0,0 +1,31 @@
|
|
|
+package com.citu.module.menduner.system.controller.admin.python;
|
|
|
+
|
|
|
+import com.citu.framework.common.pojo.CommonResult;
|
|
|
+import com.citu.module.menduner.system.api.python.GraphApi;
|
|
|
+import com.citu.module.menduner.system.api.python.GraphQueryPageDTO;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+
|
|
|
+@Tag(name = "管理后台 - python-知识图谱接口")
|
|
|
+@RestController
|
|
|
+@RequestMapping("/menduner/system/python-graph")
|
|
|
+@Validated
|
|
|
+public class GraphController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private GraphApi graphApi;
|
|
|
+
|
|
|
+ @GetMapping("/rocket/label/list")
|
|
|
+ @Operation(summary = "获取页面标签列表")
|
|
|
+ public CommonResult<Object> getLabelList(GraphQueryPageDTO pageReqVO) {
|
|
|
+ return graphApi.getLabelList(pageReqVO);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|