Browse Source

治疗方案

Zhaops 6 years ago
parent
commit
85d513fa87

+ 0 - 31
icss-service/src/main/java/com/diagbot/web/DiseaseController.java

@@ -1,31 +0,0 @@
-package com.diagbot.web;
-
-import com.diagbot.annotation.SysLogger;
-import com.diagbot.dto.RespDTO;
-import io.swagger.annotations.Api;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-/**
- * @Description:
- * @Author:zhaops
- * @time: 2018/11/30 17:25
- */
-@RestController
-@RequestMapping("/disease")
-@SuppressWarnings("unchecked")
-@Api(value = "诊断相关API", tags = { "诊断相关API" })
-public class DiseaseController {
-
-    /**
-     * 根据诊断获取治疗方案
-     *
-     * @return
-     */
-    @PostMapping("/getTreatmentPlanByDisease")
-    @SysLogger("getTreatmentPlanByDisease")
-    public RespDTO<Boolean> getTreatmentPlanByDisease() {
-        return RespDTO.onSuc(true);
-    }
-}

+ 2 - 0
icss-service/src/main/java/com/diagbot/web/TreatmentController.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;
 
 import javax.validation.Valid;
 
@@ -36,6 +37,7 @@ public class TreatmentController {
                     "dis:诊断<br>")
     @PostMapping("/getTreatment")
     @SysLogger("getTreatment")
+    @ApiIgnore
     public RespDTO<TreatmentDTO> getTreatment(@RequestBody @Valid TreatmentVO treatmentVO) {
         //TreatmentDTO data = treatmentFacade.getTreatment(treatmentVO);
         return RespDTO.onSuc(null);