6 changed files with 50 additions and 4 deletions
@ -0,0 +1,14 @@ |
|||
package com.base.springcloud.client; |
|||
|
|||
import com.base.springcloud.base.CommonResult; |
|||
import com.base.springcloud.dto.MerchantConfigReqDTO; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
|
|||
@FeignClient(value = "payment-service-client") |
|||
public interface PaymentClient { |
|||
|
|||
@PostMapping(value = "/merchant/merchantConfig") |
|||
CommonResult paymentConfigure(@RequestBody MerchantConfigReqDTO merchantConfigDTO); |
|||
} |
|||
Loading…
Reference in new issue