浏览代码

代码优化

gaodm 4 年之前
父节点
当前提交
3c7cb19034
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/diagbot/web/KgController.java

+ 2 - 0
src/main/java/com/diagbot/web/KgController.java

@@ -12,6 +12,7 @@ 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: 朗通知识图谱控制层
@@ -23,6 +24,7 @@ import org.springframework.web.bind.annotation.RestController;
 @Api(value = "朗通知识图谱API", tags = { "朗通知识图谱API" })
 @SuppressWarnings("unchecked")
 @Slf4j
+@ApiIgnore
 public class KgController {
 
     @Autowired