| | |
| | | |
| | | Syspara paramMin = sysparaService.find(symbolCodeMin); |
| | | Syspara paramMax = null; |
| | | if (paramMin == null || (paramMax = sysparaService.find(symbolCodeMax)) == null) { |
| | | if (paramMin == null && (paramMax = sysparaService.find(symbolCodeMax)) == null) { |
| | | // 不需要默认的,直接返回 |
| | | if (!needDefault) { |
| | | return map; |
| | | } |
| | | // 2、没有对应该币种提现额度配置,使用默认的 |
| | | map.put("limit", this.sysparaService.find(defaultMinCode).getSvalue()); |
| | | map.put("limitMax", this.sysparaService.find(defaultMaxCode).getSvalue()); |
| | | return map; |
| | | } else if (paramMin != null && (paramMax = sysparaService.find(symbolCodeMax)) == null){ |
| | | // 不需要默认的,直接返回 |
| | | if (!needDefault) { |
| | | return map; |
| | | } |
| | | // 2、没有对应该币种提现额度配置,使用默认的 |
| | | map.put("limit", paramMin.getSvalue()); |
| | | map.put("limitMax", this.sysparaService.find(defaultMaxCode).getSvalue()); |
| | | return map; |
| | | } |
| | |
| | | } else if (channel.indexOf("ETH") != -1) { |
| | | saveApplyOtherChannel(withdraw, "eth"); |
| | | return; |
| | | } else if (channel.indexOf("USDC") != -1) { |
| | | saveApplyOtherChannel(withdraw, "usdc"); |
| | | return; |
| | | } |
| | | User party = userService.getById(withdraw.getUserId()); |
| | | if (Constants.SECURITY_ROLE_TEST.equals(party.getRoleName())) { |