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