|
@@ -8,6 +8,8 @@ import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
|
|
+import java.util.Map;
|
|
|
|
+
|
|
@FeignClient(name = ApiConstants.PYTHON_MENDUNR_NAME)
|
|
@FeignClient(name = ApiConstants.PYTHON_MENDUNR_NAME)
|
|
@Tag(name = "RPC 服务 - python 知识图谱")
|
|
@Tag(name = "RPC 服务 - python 知识图谱")
|
|
public interface GraphApi {
|
|
public interface GraphApi {
|
|
@@ -35,4 +37,9 @@ public interface GraphApi {
|
|
@PostMapping("/rocket/delete/data")
|
|
@PostMapping("/rocket/delete/data")
|
|
@Operation(summary = "删除图谱数据")
|
|
@Operation(summary = "删除图谱数据")
|
|
CommonResult<Boolean> receiveData(@RequestBody GraphQueryPageDTO queryDTO);
|
|
CommonResult<Boolean> receiveData(@RequestBody GraphQueryPageDTO queryDTO);
|
|
|
|
+
|
|
|
|
+ @PostMapping("/rocket/label/list")
|
|
|
|
+ @Operation(summary = "页面标签列表")
|
|
|
|
+ CommonResult<Object> getLabelList(@RequestBody GraphQueryPageDTO queryDTO);
|
|
|
|
+
|
|
}
|
|
}
|