|
|
|
@ -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<List<BtcWalletDTO>> getWallets(@RequestParam("userId") String userId); |
|
|
|
|
} |
|
|
|
|