| | |
| | | @Getter |
| | | public enum DataDictionaryEnum { |
| | | //充值金额 |
| | | USDT_PRICE("USDT_PRICE","USDT_PRICE"), |
| | | //充值金额 |
| | | WITHDRAW_AMOUNT("WITHDRAW_AMOUNT","WITHDRAW_AMOUNT"), |
| | | //充值金额 |
| | | CHARGE_AMOUNT("CHARGE_AMOUNT","CHARGE_AMOUNT"), |
| | |
| | | ); |
| | | BigDecimal withdrawAmount = new BigDecimal(withdrawAmountDic.getValue()).setScale(2, BigDecimal.ROUND_DOWN); |
| | | mallMemberVo.setWithdrawAmount(withdrawAmount); |
| | | |
| | | DataDictionaryCustom usdtPriceDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.USDT_PRICE.getType(), |
| | | DataDictionaryEnum.USDT_PRICE.getCode() |
| | | ); |
| | | BigDecimal usdtPrice = new BigDecimal(usdtPriceDic.getValue()).setScale(2, BigDecimal.ROUND_DOWN); |
| | | mallMemberVo.setUsdtPrice(usdtPrice); |
| | | return new FebsResponse().success().data(mallMemberVo); |
| | | } |
| | | |
| | |
| | | private String chargeAddress; |
| | | @ApiModelProperty(value = "最小提现金额") |
| | | private BigDecimal withdrawAmount; |
| | | @ApiModelProperty(value = "USDT价格") |
| | | private BigDecimal usdtPrice; |
| | | |
| | | } |