新版仿ok交易所-后端
1
zj
18 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-service/src/main/java/com/yami/trading/service/user/impl/UserDataServiceImpl.java
@@ -609,7 +609,7 @@
            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()));
@@ -658,7 +658,7 @@
//            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);
@@ -722,7 +722,7 @@
        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());
@@ -750,7 +750,7 @@
        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());