| | |
| | | if (!party.isEnabled()) { |
| | | throw new YamiShopBindException("用户已锁定"); |
| | | } |
| | | if ("recharge".equals(direction)) { |
| | | realNameAuthRecordService.requireApproved(party, false); |
| | | } |
| | | // 手续费 |
| | | double fee = 0; |
| | | if ("withdraw".equals(direction)) { |
| | |
| | | if (party_kyc==null){ |
| | | party_kyc=new RealNameAuthRecord(); |
| | | } |
| | | if (!(party_kyc.getStatus() == 2) && "true".equals(this.sysparaService.find("withdraw_by_kyc").getSvalue())) { |
| | | throw new YamiShopBindException("未实名认证,无提现权限"); |
| | | if ("true".equals(this.sysparaService.find("withdraw_by_kyc").getSvalue())) { |
| | | realNameAuthRecordService.requireApproved(party, false); |
| | | } |
| | | HighLevelAuthRecord party_kycHighLevel = highLevelAuthRecordService.findByUserId(partyId); |
| | | if (party_kycHighLevel==null){ |