活动转账金币 比例问题修复
This commit is contained in:
parent
c74a4b11d1
commit
f52a547b18
@ -175,8 +175,11 @@ public class LotteryTransferExe {
|
||||
* @return 1美元可获得的金币数量.
|
||||
*/
|
||||
private Double getExchangeGoldRatio(LotteryTransferCmd cmd) {
|
||||
Long acceptUserId = cmd.getAcceptUserId();
|
||||
boolean freight = freightBalanceClient.existsBalance(acceptUserId).getBody();
|
||||
|
||||
List<SysExchangeGoldTipDTO> exchangeGolds = ResponseAssert.requiredSuccess(
|
||||
userRegionClient.listRegionExchangeGoldTip(cmd.requiredReqUserId(), false));
|
||||
userRegionClient.listRegionExchangeGoldTip(cmd.requiredReqUserId(), freight));
|
||||
ResponseAssert.notEmpty(CommonErrorCode.CONFIGURATION_ERROR, exchangeGolds);
|
||||
|
||||
exchangeGolds = exchangeGolds.stream().filter(gold ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user