|
@@ -1,9 +1,11 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
import com.diagbot.dto.IndicationDTO;
|
|
|
+import com.diagbot.dto.PushCoreDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.IndicationFacade;
|
|
|
import com.diagbot.vo.IndicationPushVO;
|
|
|
+import com.diagbot.vo.PushVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -36,10 +38,12 @@ public class CoreController {
|
|
|
return RespDTO.onSuc(indicationFacade.indicationFac(indicationPushVO));
|
|
|
}
|
|
|
|
|
|
- // @ApiOperation(value = "推送API[zhoutg]", notes = "类型(多选必填),1:症状,4:查体结果,42:查体指标,5:检验,6:检查,7:诊断")
|
|
|
- // @PostMapping("/push")
|
|
|
- // public RespDTO<IndicationDTO> push(@RequestBody PushVO pushVo) {
|
|
|
- // return RespDTO.onSuc(pushFacade.pushFac(pushVo));
|
|
|
- // }
|
|
|
+ @ApiOperation(value = "推送API[zhoutg]", notes = "类型(多选必填),1:症状,4:查体结果,5:检验,6:检查,7:诊断")
|
|
|
+ @PostMapping("/push")
|
|
|
+ public RespDTO<PushCoreDTO> push(@RequestBody PushVO pushVo) {
|
|
|
+// return RespDTO.onSuc(pushFacade.pushFac(pushVo));
|
|
|
+ PushCoreDTO pushCoreDTO = new PushCoreDTO();
|
|
|
+ return RespDTO.onSuc(pushCoreDTO);
|
|
|
+ }
|
|
|
}
|
|
|
|