wangrenhuang
2022-09-06 995edce886640203e1b162c47bf8298845cce256
提交 | 用户 | age
995edc 1 package com.hz.sms.feign;
W 2
3 import com.hx.resultTool.Result;
4 import com.hz.sms.dto.GoodsSkuDto;
5 import com.hz.sms.dto.OrderRefundDto;
6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
13 @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-order-refund")
14 public interface FOderRefundService {
15
16     @PostMapping(value = "/order/refund/refundAmount")
17     Result list( @RequestBody(required = false) OrderRefundDto orderRefundDto);
18
19 }