| | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "project") |
| | | @FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "project") |
| | | public interface SProjectService { |
| | | |
| | | /** |
| | |
| | | @PostMapping(value = "/project/sku/spu") |
| | | Result getSkuAndSpu(@RequestParam("projectId") String projectId); |
| | | |
| | | /** |
| | | * 判断是否为医疗项目 |
| | | * @return Result |
| | | */ |
| | | @PostMapping(value = "/project/check/medical") |
| | | Result checkMedicalIitems(@RequestBody ProjectDto projectDto); |
| | | |
| | | /** |
| | | * his助手,门店助手 开单时 使用查询项目列表 |
| | | * @param projectDto |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/project/list/by/type") |
| | | Result getProjectByTypeId(@RequestBody ProjectDto projectDto); |
| | | |
| | | } |