|
@@ -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);
|
|
|
}
|
|
|
}
|