| | |
| | | throw new YamiShopBindException("用户已禁用"); |
| | | } |
| | | validateTradePermission(party); |
| | | realNameAuthRecordService.requireApproved(party, true); |
| | | Syspara syspara = sysparaService.find("stop_user_internet"); |
| | | String stopUserInternet = syspara.getSvalue(); |
| | | if (org.apache.commons.lang3.StringUtils.isNotEmpty(stopUserInternet)) { |
| | |
| | | throw new YamiShopBindException("用户已禁用!"); |
| | | } |
| | | validateTradePermission(party); |
| | | realNameAuthRecordService.requireApproved(party, true); |
| | | symbol = itemService.getCleanSymbol(symbol); |
| | | symbol_to = itemService.getCleanSymbol(symbol_to); |
| | | String relation_order_no = UUID.randomUUID().toString(); |
| | |
| | | // 模拟账户不做二步校验限制 |
| | | if (user.getAccountType() != null && user.getAccountType() == 1) { |
| | | return; |
| | | } |
| | | if (!user.isGoogleAuthBind() || StringUtils.isEmptyString(user.getSafePassword())) { |
| | | throw new YamiShopBindException("请先完成两步认证并设置资金密码后再交易"); |
| | | } |
| | | } |
| | | |