浏览代码

诊断接口

Zhaops 6 年之前
父节点
当前提交
16b7ecf587
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      icss-service/src/main/java/com/diagbot/web/DiseaseController.java

+ 6 - 1
icss-service/src/main/java/com/diagbot/web/DiseaseController.java

@@ -1,7 +1,9 @@
 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;
 
@@ -17,9 +19,12 @@ public class DiseaseController {
 
     /**
      * 根据诊断获取治疗方案
+     *
      * @return
      */
-    public RespDTO<Boolean> getTreatmentPlanByDisease(){
+    @PostMapping("/getTreatmentPlanByDisease")
+    @SysLogger("getTreatmentPlanByDisease")
+    public RespDTO<Boolean> getTreatmentPlanByDisease() {
         return RespDTO.onSuc(true);
     }
 }