|
@@ -1,41 +0,0 @@
|
|
-// package com.diagbot.web;
|
|
|
|
-//
|
|
|
|
-// import com.diagbot.annotation.SysLogger;
|
|
|
|
-// import com.diagbot.dto.RespDTO;
|
|
|
|
-// import com.diagbot.facade.KgFacade;
|
|
|
|
-// import com.diagbot.vo.KgQueryVO;
|
|
|
|
-// import io.swagger.annotations.Api;
|
|
|
|
-// import io.swagger.annotations.ApiOperation;
|
|
|
|
-// import lombok.extern.slf4j.Slf4j;
|
|
|
|
-// import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-// import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-// import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-// import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-// import org.springframework.web.bind.annotation.RestController;
|
|
|
|
-// import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
-//
|
|
|
|
-// /**
|
|
|
|
-// * @Description: 朗通知识图谱控制层
|
|
|
|
-// * @author: zhoutg
|
|
|
|
-// * @time: 2018/8/30 10:12
|
|
|
|
-// */
|
|
|
|
-// @RestController
|
|
|
|
-// @RequestMapping("/kg")
|
|
|
|
-// @Api(value = "朗通知识图谱API", tags = { "朗通知识图谱API" })
|
|
|
|
-// @SuppressWarnings("unchecked")
|
|
|
|
-// @Slf4j
|
|
|
|
-// @ApiIgnore
|
|
|
|
-// public class KgController {
|
|
|
|
-//
|
|
|
|
-// @Autowired
|
|
|
|
-// private KgFacade kgFacade;
|
|
|
|
-//
|
|
|
|
-// @ApiOperation(value = "查询节点", notes = "查询节点")
|
|
|
|
-// @PostMapping("/getNode")
|
|
|
|
-// @SysLogger("getNode")
|
|
|
|
-// public RespDTO<String> getTree(@RequestBody KgQueryVO kgQueryVO) {
|
|
|
|
-// return RespDTO.onSuc(kgFacade.getTreeFac(kgQueryVO));
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// }
|
|
|
|
-//
|
|
|