wangrenhuang
2022-10-20 f51e4da0e870c8f4267cb2afd6f72fa79fb179e9
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
88e548 4 import com.hz.his.dto.order.*;
ddd881 5 import org.springframework.cloud.openfeign.FeignClient;
1d0321 6 import org.springframework.web.bind.annotation.*;
ddd881 7
3ec52c 8 import javax.servlet.http.HttpServletRequest;
Z 9
ddd881 10 /**
F 11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
39a067 13 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-order")
ddd881 14 public interface SPhipOrderService {
F 15
16     /**
5bd668 17      * 开放平台-新-新增订单更新至phis (废弃)
ddd881 18      */
F 19     @PostMapping(value = "/newSync/order/add")
b7d12e 20     Result createOrder(@RequestBody OrderCreateDto params);
ddd881 21
F 22     /**
5bd668 23      * 开放平台-新-订单状态更新至phis (废弃)
ddd881 24      */
F 25     @PostMapping(value = "/newSync/order/orderUpdate")
0937f1 26     Result updateOrderStatus(@RequestBody OrdersTotalDto params);
ddd881 27
F 28     /**
5bd668 29      * 开放平台-新-订单结账更新至phis (废弃)
ddd881 30      */
F 31     @PostMapping(value = "/newSync/order/pay")
b7d12e 32     Result payOrderSuc(@RequestBody OrderPayDto params);
ddd881 33
F 34     /**
5bd668 35      * 开放平台-新-订单退款更新至phis (废弃)
ddd881 36      */
F 37     @PostMapping(value = "/newSync/order/refund")
74df3f 38     Result refundOrder(@RequestBody OrderRefundDto params);
ddd881 39
F 40     /**
5bd668 41      * 开放平台-新-取消订单更新至phis (废弃)
ddd881 42      */
F 43     @PostMapping(value = "/newSync/order/cancel")
74df3f 44     Result cancelOrder(@RequestBody OrderRefundDto params);
ddd881 45
90b4c6 46     /**
Z 47      * 开放平台-同步中心心跳退款流程
48      */
49     @PostMapping(value = "/refund/syn/refund")
50     Result synRefund(@RequestBody OrderRefundDto dto, @RequestHeader("appIdCode") String appIdCode);
88e548 51
3ec52c 52
88e548 53     /**
3ec52c 54      * 开放平台-开单
0cfce0 55      * 实体转化用 CreateOrderReturnDto
88e548 56      */
3ec52c 57     @PostMapping(value = "/order/add")
d7199c 58     Result orderAdd(@RequestBody OrderPHisDto dto);
3ec52c 59
Z 60     /**
61      * 开放平台-结账
62      */
63     @PostMapping(value = "/order/pay")
d7199c 64     Result orderPay(@RequestBody PayDto dto);
97204c 65
F 66     /**
67      * 开放平台-用户确认订单
68      */
69     @PostMapping(value = "/order/customer/confirm")
70     Result customerConfirm(@RequestBody OrderInfoDto orderInfoDto);
71
1d0321 72     /**
Z 73      * 开放平台-判断订单是否支持取消已支付的订单
74      */
75     @PostMapping(value = "/order/cancel/verification")
2286f8 76     Result cancelVerification(@RequestBody CancelOrderDto cancelOrderDto);
1d0321 77     /**
Z 78      * 开放平台-取消订单(新)
267119 79      * data 实体转化用 CancelOrderReturnDto
1d0321 80      */
3a0ab7 81     @PostMapping(value = "/order/cancel/v3")
2286f8 82     Result cancel(@RequestBody CancelOrderDto cancelOrderDto);
1d0321 83      /**
Z 84      * 开放平台-根据订单id获取退款单信息
85      */
86     @PostMapping(value = "/order/refundNote/list")
2286f8 87     Result noteList(@RequestBody OrderRefundNoteListDto orderRefundNoteListDto);
1d0321 88     /**
Z 89      * 开放平台-确认退款单
90      */
91     @PostMapping(value = "/order/refundNote/confirm")
3a0ab7 92     Result noteConfirm(@RequestBody OrderRefundNoteListDto orderRefundNoteListDto);
1d0321 93
12e75a 94     /**
Z 95      * 开放平台-查询订单支付集合
96      */
97     @PostMapping(value = "/order/get/ConsumePay")
98     Result getConsumePay(@RequestBody PayDto dto);
99
1d0321 100
ddd881 101 }