Browse Source

代码优化

gaodm 4 years ago
parent
commit
3c7cb19034
1 changed files with 2 additions and 0 deletions
  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