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