Bläddra i källkod

禁用快易检推理接口

Zhaops 6 år sedan
förälder
incheckning
8032024c7b
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      icss-service/src/main/java/com/diagbot/web/PushController.java

+ 3 - 0
icss-service/src/main/java/com/diagbot/web/PushController.java

@@ -18,6 +18,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;
 
 import javax.validation.Valid;
 import java.util.Map;
@@ -132,6 +133,7 @@ public class PushController {
         return RespDTO.onSuc(pushFacade.pushInner(pushVO));
     }
 
+    @ApiIgnore
     @ApiOperation(value = "推理接口(大数据结果)[by:zhaops]",
             notes = "age: 年龄(必填)<br>" +
                     "sex:性别(必填),1:男,2:女<br>" +
@@ -159,6 +161,7 @@ public class PushController {
         return RespDTO.onSuc(pushFacade.pushAipt(searchData));
     }
 
+    @ApiIgnore
     @ApiOperation(value = "推理接口(快易检)[by:zhaops]",
             notes = "age: 年龄(必填)<br>" +
                     "sex:性别(必填),1:男,2:女<br>" +