fhx
2024-04-10 4e5fd1f6fcf2e3fc318cdc51b09804073739aaa9
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.phis;
7c680b 2
C 3
4 import com.hx.resultTool.Result;
14347e 5 import com.hz.his.dto.project.ProjectRoomDto;
7c680b 6 import org.springframework.cloud.openfeign.FeignClient;
C 7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
13 @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "section")
14 public interface SSectionRoomService {
15
16     /**
17      * 获取科室
18      */
19     @PostMapping(value = "/section/list")
14347e 20     Result getSectionRoomList(@RequestBody ProjectRoomDto projectRoomDto);
7c680b 21 }