zhangxu
2022-11-23 1c744733a032b1da5d429830268a6314b39eba09
提交 | 用户 | 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;
1d0321 7 import org.springframework.web.bind.annotation.*;
ddd881 8
3ec52c 9 import javax.servlet.http.HttpServletRequest;
Z 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
ddd881 113 }