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