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);
|
}
|