cmg
2024-04-30 314a4b858417df3d0e97049c3bf36e91cdf228ee
提交 | 用户 | age
9df995 1 package com.hz.his.feign.service.platform;
W 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.preOrder.PreOrderDto;
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  */
314a4b 12 @FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-preOrder")
9df995 13 public interface SPhipPreOrderService {
W 14
15     /**
16      * 取消预约
17      */
18     @PostMapping(value = "/pre/order/cancel")
19     Result cancel(@RequestBody PreOrderDto preOrderDto);
20
21     /**
22      * 查看预约列表
23      */
24     @PostMapping(value = "/pre/order/list")
25     Result list(@RequestBody PreOrderDto preOrderDto);
26
27     /**
28      * 新增预约
29      */
30     @PostMapping(value = "/pre/order/add")
31     Result add(@RequestBody PreOrderDto preOrderDto);
32
33     /**
34      * 修改预约
35      */
36     @PostMapping(value = "/pre/order/update")
37     Result update(@RequestBody PreOrderDto preOrderDto);
38
39     /**
40      * 查看预约
41      */
42     @PostMapping(value = "/pre/order/see")
43     Result see(@RequestBody PreOrderDto preOrderDto);
44
45
46     /**
47      * 删除预约
48      */
49     @PostMapping(value = "/pre/order/del")
50     Result del(@RequestBody PreOrderDto preOrderDto);
51
52
d08aa1 53     /**
W 54      * 删除预约
55      */
56     @PostMapping(value = "/pre/order/updateStatus")
57     Result updateStatus(@RequestBody PreOrderDto preOrderDto);
58
59
60
9df995 61 }