|
@@ -1,28 +0,0 @@
|
|
-package com.diagbot.client;
|
|
|
|
-
|
|
|
|
-import com.diagbot.client.hystrix.PrecServiceHystrix;
|
|
|
|
-import com.diagbot.dto.QuestionDTO;
|
|
|
|
-import com.diagbot.dto.RespDTO;
|
|
|
|
-import com.diagbot.vo.QuestionNameVO;
|
|
|
|
-import org.springframework.cloud.openfeign.FeignClient;
|
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-
|
|
|
|
-import javax.validation.Valid;
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * @Description:
|
|
|
|
- * @Author:zhaops
|
|
|
|
- * @time: 2020/4/9 16:22
|
|
|
|
- */
|
|
|
|
-@FeignClient(value = "prec-service", fallback = PrecServiceHystrix.class)
|
|
|
|
-public interface PrecServiceClient {
|
|
|
|
- /**
|
|
|
|
- * 根据名称获取预问诊标签内容
|
|
|
|
- *
|
|
|
|
- * @param questionNameVO
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- @PostMapping("/questionInfo/getByName")
|
|
|
|
- RespDTO<QuestionDTO> getByName(@Valid @RequestBody QuestionNameVO questionNameVO);
|
|
|
|
-}
|
|
|