transferGold 改为接收人ID
This commit is contained in:
parent
50631033ae
commit
25ac2a3ae3
@ -172,11 +172,12 @@ public class UserBankTransferGoldCmdExe {
|
||||
* @return 1美元可获得的金币数量.
|
||||
*/
|
||||
private Double getExchangeGoldRatio(UserBankWithdrawTransferCmd cmd) {
|
||||
Long acceptUserId = cmd.getAcceptUserId();
|
||||
|
||||
boolean freight = freightBalanceService.existsBalance(cmd.getReqUserId());
|
||||
boolean freight = freightBalanceService.existsBalance(acceptUserId);
|
||||
|
||||
List<SysExchangeGoldTipDTO> exchangeGolds = ResponseAssert.requiredSuccess(
|
||||
userRegionClient.listRegionExchangeGoldTip(cmd.getReqUserId(), freight));
|
||||
userRegionClient.listRegionExchangeGoldTip(acceptUserId, freight));
|
||||
ResponseAssert.notEmpty(CommonErrorCode.CONFIGURATION_ERROR, exchangeGolds);
|
||||
|
||||
exchangeGolds = exchangeGolds.stream().filter(gold ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user