wangrenhuang
2022-08-30 f14b52d47510cd71752dc138571a0aea285990cc
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.card.CardQueryDto;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8 import org.springframework.web.bind.annotation.RequestParam;
9
10 /**
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
39a067 13 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-treat")
ddd881 14 public interface SPhipTreatService {
F 15
16     /**
17      * 开放平台-获取通知单详情
18      */
19     @PostMapping(value = "/treat/confirmTreatNotice")
20     Result getTreatInfo(@RequestParam("treatSingleId") String treatSingleId);
21
22     /**
23      * 开放平台-获取通知单确认
24      */
25     @PostMapping(value = "/treat/confirmTreatNotice")
26     Result confirmTreat(@RequestParam("treatSingleId") String treatSingleId);
27
28 }