xiaoyong931011
2022-03-16 dca3e301410be4aee5a7895a1c2c1bbf90f3d03b
src/main/java/com/xcong/excoin/common/system/controller/LoginController.java
@@ -127,12 +127,12 @@
            authInfo.put("user", memberInfoVo);
        }
        BigDecimal total = coinService.getAllWalletAmount(memberEntity.getId());
        if (total.compareTo(AppContants.BASE_MIN_AMOUNT) > 0) {
            authInfo.put("baseUrl", AppContants.BASE_URL_L2);
        } else {
            authInfo.put("baseUrl", AppContants.BASE_URL_L1);
        }
//        BigDecimal total = coinService.getAllWalletAmount(memberEntity.getId());
//        if (total.compareTo(AppContants.BASE_MIN_AMOUNT) > 0) {
//            authInfo.put("baseUrl", AppContants.BASE_URL_L2);
//        } else {
            authInfo.put("baseUrl", "");
//        }
        return Result.ok("success", authInfo);
    }