| | |
| | | if (realtime_list.size() > 0) { |
| | | realtime = realtime_list.get(0); |
| | | } else { |
| | | throw new YamiShopBindException("系统错误,请稍后重试"); |
| | | throw new YamiShopBindException("System error, please try again later"); |
| | | } |
| | | if ("btc".equals(symbol)) { |
| | | userData.setRechargeWithdrawalFee(Arith.mul(amount_fee, realtime.getClose().doubleValue())); |
| | |
| | | // if (realtime_list.size() > 0) { |
| | | // realtime = realtime_list.get(0); |
| | | // } else { |
| | | // throw new YamiShopBindException("系统错误,请稍后重试"); |
| | | // throw new YamiShopBindException("System error, please try again later"); |
| | | // } |
| | | if ("btc".equals(symbol)) { |
| | | userData.setRecharge(amount); |
| | |
| | | if (realtime_list.size() > 0) { |
| | | realtime = realtime_list.get(0); |
| | | } else { |
| | | throw new YamiShopBindException("系统错误,请稍后重试"); |
| | | throw new YamiShopBindException("System error, please try again later"); |
| | | } |
| | | UserData userData = new UserData(); |
| | | userData.setRolename(user.getRoleName()); |
| | |
| | | if (realtime_list.size() > 0) { |
| | | realtime = realtime_list.get(0); |
| | | } else { |
| | | throw new YamiShopBindException("系统错误,请稍后重试"); |
| | | throw new YamiShopBindException("System error, please try again later"); |
| | | } |
| | | UserData userData = new UserData(); |
| | | userData.setRolename(user.getRoleName()); |