diff --git a/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/EosFeign.java b/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/EosFeign.java index 0b9725a..f374bc7 100644 --- a/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/EosFeign.java +++ b/blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/EosFeign.java @@ -4,11 +4,12 @@ import com.blockchain.common.base.dto.ResultDTO; import com.blockchain.server.yyyf.feign.dto.EosWalletDTO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestParam; import java.util.List; @FeignClient("dapp-eos-server") public interface EosFeign { @GetMapping("/inner/walletTx/selectWalletByUserOpenId") - ResultDTO> selectWalletByWalletType(String userOpenId); + ResultDTO> selectWalletByWalletType(@RequestParam("userOpenId") String userOpenId); } diff --git a/blockchain-server/blockchain-server-yyyf/src/main/resources/bootstrap.yml b/blockchain-server/blockchain-server-yyyf/src/main/resources/bootstrap.yml index b512d4c..ecee1a9 100644 --- a/blockchain-server/blockchain-server-yyyf/src/main/resources/bootstrap.yml +++ b/blockchain-server/blockchain-server-yyyf/src/main/resources/bootstrap.yml @@ -22,7 +22,10 @@ spring: name: dapp-yyyf-server #以渔有方配置 yyyf: - url: http://10.1.129.60:9090/yyyf-server-app + #测试环境 + #url: http://10.1.129.60:9090/yyyf-server-app + #线上环境 + url: http://www.iyyyf.com #在线同步 integral: /api/bd/v1.0/integral #成绩同步(单个) diff --git a/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssessUserMapper.xml b/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssessUserMapper.xml index 5ca4b33..49536b3 100644 --- a/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssessUserMapper.xml +++ b/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssessUserMapper.xml @@ -128,7 +128,7 @@ diff --git a/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssetsReporterMapper.xml b/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssetsReporterMapper.xml index 858cb31..3c547f5 100644 --- a/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssetsReporterMapper.xml +++ b/blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssetsReporterMapper.xml @@ -20,11 +20,11 @@ ( #{assetsReporter.id}, - #{assetsReporter.assess_user_id}, - #{assetsReporter.coin_name}, + #{assetsReporter.assessUserId}, + #{assetsReporter.coinName}, #{assetsReporter.days}, #{assetsReporter.assets}, - #{assetsReporter.create_time} + #{assetsReporter.createTime} )