| | |
| | | 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 { |
| | | // 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); |
| | | } |
| | | // } |
| | | return Result.ok("success", authInfo); |
| | | } |
| | | |