chenjiahe
2023-02-24 3ea49203f323e2fe2471488425bab1884d680c21
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
23fc8c 4 import com.hz.his.dto.aduit.AduitDto;
88e548 5 import com.hz.his.dto.order.*;
ddd881 6 import org.springframework.cloud.openfeign.FeignClient;
e31143 7 import org.springframework.web.bind.annotation.PostMapping;
Z 8 import org.springframework.web.bind.annotation.RequestBody;
9 import org.springframework.web.bind.annotation.RequestHeader;
3ec52c 10
ddd881 11 /**
F 12  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
13  */
39a067 14 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-order")
ddd881 15 public interface SPhipOrderService {
F 16
17     /**
5bd668 18      * 开放平台-新-新增订单更新至phis (废弃)
ddd881 19      */
F 20     @PostMapping(value = "/newSync/order/add")
b7d12e 21     Result createOrder(@RequestBody OrderCreateDto params);
ddd881 22
F 23     /**
5bd668 24      * 开放平台-新-订单状态更新至phis (废弃)
ddd881 25      */
F 26     @PostMapping(value = "/newSync/order/orderUpdate")
0937f1 27     Result updateOrderStatus(@RequestBody OrdersTotalDto params);
ddd881 28
F 29     /**
5bd668 30      * 开放平台-新-订单结账更新至phis (废弃)
ddd881 31      */
F 32     @PostMapping(value = "/newSync/order/pay")
b7d12e 33     Result payOrderSuc(@RequestBody OrderPayDto params);
ddd881 34
F 35     /**
5bd668 36      * 开放平台-新-订单退款更新至phis (废弃)
ddd881 37      */
F 38     @PostMapping(value = "/newSync/order/refund")
74df3f 39     Result refundOrder(@RequestBody OrderRefundDto params);
ddd881 40
F 41     /**
5bd668 42      * 开放平台-新-取消订单更新至phis (废弃)
ddd881 43      */
F 44     @PostMapping(value = "/newSync/order/cancel")
74df3f 45     Result cancelOrder(@RequestBody OrderRefundDto params);
ddd881 46
90b4c6 47     /**
Z 48      * 开放平台-同步中心心跳退款流程
49      */
50     @PostMapping(value = "/refund/syn/refund")
51     Result synRefund(@RequestBody OrderRefundDto dto, @RequestHeader("appIdCode") String appIdCode);
88e548 52
3ec52c 53
88e548 54     /**
3ec52c 55      * 开放平台-开单
0cfce0 56      * 实体转化用 CreateOrderReturnDto
88e548 57      */
3ec52c 58     @PostMapping(value = "/order/add")
d7199c 59     Result orderAdd(@RequestBody OrderPHisDto dto);
3ec52c 60
Z 61     /**
62      * 开放平台-结账
63      */
64     @PostMapping(value = "/order/pay")
d7199c 65     Result orderPay(@RequestBody PayDto dto);
97204c 66
F 67     /**
68      * 开放平台-用户确认订单
69      */
70     @PostMapping(value = "/order/customer/confirm")
71     Result customerConfirm(@RequestBody OrderInfoDto orderInfoDto);
72
1d0321 73     /**
Z 74      * 开放平台-判断订单是否支持取消已支付的订单
75      */
76     @PostMapping(value = "/order/cancel/verification")
2286f8 77     Result cancelVerification(@RequestBody CancelOrderDto cancelOrderDto);
1d0321 78     /**
Z 79      * 开放平台-取消订单(新)
267119 80      * data 实体转化用 CancelOrderReturnDto
1d0321 81      */
3a0ab7 82     @PostMapping(value = "/order/cancel/v3")
2286f8 83     Result cancel(@RequestBody CancelOrderDto cancelOrderDto);
1d0321 84      /**
Z 85      * 开放平台-根据订单id获取退款单信息
86      */
87     @PostMapping(value = "/order/refundNote/list")
2286f8 88     Result noteList(@RequestBody OrderRefundNoteListDto orderRefundNoteListDto);
1d0321 89     /**
Z 90      * 开放平台-确认退款单
91      */
92     @PostMapping(value = "/order/refundNote/confirm")
3a0ab7 93     Result noteConfirm(@RequestBody OrderRefundNoteListDto orderRefundNoteListDto);
1d0321 94
12e75a 95     /**
Z 96      * 开放平台-查询订单支付集合
97      */
98     @PostMapping(value = "/order/get/ConsumePay")
99     Result getConsumePay(@RequestBody PayDto dto);
100
23fc8c 101     /**
Z 102      * 开放平台-营销助手订单折扣审核通过/拒绝接口
103      */
104     @PostMapping(value = "/audit/marketing/aduit")
105     Result marketingAduit(@RequestBody AduitDto dto);
106
e0d7fa 107     /**
Z 108      * 开放平台-营销助手订单取消审核通过/拒绝接口
109      */
110     @PostMapping(value = "/audit/order/cancel")
111     Result cancelApproval(@RequestBody AduitDto aduitDto);
1d0321 112
96eecc 113     /**
d965b9 114      * 开放平台-开单
W 115      * 实体转化用 CreateOrderReturnDto
116      */
117     @PostMapping(value = "/order/create")
118     Result orderCreate(@RequestBody OrderPHisDto dto);
119
120     /**
121      * 开放平台-结账
122      */
123     @PostMapping(value = "/order/payMoney")
124     Result orderPayMoney(@RequestBody PayDto dto);
125
126
0e563b 127     /**
96eecc 128      * 开放平台-部分退款
Z 129      * data 实体转化用 CancelOrderReturnDto
130      */
131     @PostMapping(value = "/order/partial/refund")
132     Result partialRefund(@RequestBody OrderRefundDto orderRefundDto);
133
4ac5cf 134     /**
Z 135      * 部分退款显示数据接口
136      * data 实体转化用 OrderDto
137      */
138     @PostMapping(value = "/order/refund/details")
e31143 139     Result refundDetails(OrderRefundDto orderRefundDto);
4ac5cf 140
Z 141     /**
142      * 选完数量点击下一步显示数据接口
143      * data 实体转化用 OrderOrderRefundDtoDto
144      */
145     @PostMapping(value = "/order/refund/nextStep")
146     Result nextStep(OrderRefundDto orderRefundDto);
147
0b1648 148     /**
Z 149      * 开放平台-营销助手订单部分退款审核通过/拒绝接口
150      */
151     @PostMapping(value = "/audit/order/partRefund")
152     Result partRefundApproval(@RequestBody AduitDto aduitDto);
c8ce31 153
Z 154     /**
155      * 开放平台-全部退款
156      * data 实体转化用 CancelOrderReturnDto
157      */
158     @PostMapping(value = "/order/whole/refund")
159     Result wholeRefund(@RequestBody OrderRefundDto orderRefundDto);
ddd881 160 }