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