puzhibing
2023-07-07 bfc06fc14d3c54801bfa94a138746daf3076358d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.dsh.course.feignClient.payment;
 
import com.dsh.course.feignClient.payment.model.QueryPaymentRecordReq;
import com.dsh.guns.modular.system.model.PaymentRecord;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
import java.util.List;
 
@FeignClient(value = "mb-cloud-payment", path = "/paymentRecord")
public interface PaymentClient {
    @PostMapping("/queryPaymentRecordList")
    List<PaymentRecord> queryPaymentRecordList(QueryPaymentRecordReq req);
}