Pu Zhibing
2025-04-16 7cb8a6506062d0489dcd601a375f9dc89cbf6b4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.ruoyi.order.api.feignClient;
 
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.order.api.factory.ShoppingOrderFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
/**
 * @author zhibing.pu
 * @Date 2024/9/29 16:23
 */
@FeignClient(contextId = "ShoppingOrderClient", value = ServiceNameConstants.ORDER_SERVICE, fallbackFactory = ShoppingOrderFallbackFactory.class)
public interface ShoppingOrderClient {
    
    
    /**
     * 商城订单去掉退款回调通知
     * @param out_refund_no
     * @param refund_id
     * @param tradeState
     * @param success_time
     */
    @PostMapping("/t-shopping-order/cancelShoppingOrderWxRefund")
    void cancelShoppingOrderWxRefund(@RequestParam("out_refund_no") String out_refund_no,
                                     @RequestParam("refund_id") String refund_id,
                                     @RequestParam("tradeState") String tradeState,
                                     @RequestParam("success_time") String success_time);
}