diff --git a/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/BtcFeign.java b/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/BtcFeign.java index c095b2f..0d5690c 100644 --- a/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/BtcFeign.java +++ b/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/BtcFeign.java @@ -3,7 +3,7 @@ package com.blockchain.server.yyyf.feign; import com.blockchain.common.base.dto.ResultDTO; import com.blockchain.server.yyyf.feign.dto.BtcWalletDTO; import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; @@ -12,6 +12,6 @@ import java.util.List; public interface BtcFeign { String CONTENT_PATH = "/inner/wallet"; - @PostMapping(CONTENT_PATH + "/getWallets") + @GetMapping(CONTENT_PATH + "/getWallets") ResultDTO> getWallets(@RequestParam("userId") String userId); }