| | |
| | | return ServerResponse.createByErrorMsg("The parameter cannot be null"); |
| | | } |
| | | |
| | | SiteSetting siteSetting = this.iSiteSettingService.getSiteSetting(); |
| | | if (siteSetting == null) { |
| | | SitePay payChnnel = sitePayMapper.selectById(1); |
| | | if (payChnnel == null) { |
| | | return ServerResponse.createByErrorMsg("set is not initialized"); |
| | | } |
| | | if ((new BigDecimal(siteSetting.getChargeMinAmt() + "")).compareTo(new BigDecimal(amt)) == 1) { |
| | | return ServerResponse.createByErrorMsg("The top-up amount shall not be less than" + siteSetting.getChargeMinAmt()); |
| | | if ((new BigDecimal(payChnnel.getChannelMinLimit() + "")).compareTo(new BigDecimal(amt)) == 1) { |
| | | return ServerResponse.createByErrorMsg("The top-up amount shall not be less than" + payChnnel.getChannelMinLimit()); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | User user = this.iUserService.getCurrentRefreshUser(request); |
| | | if (user.getIsActive().intValue() != 2) { |
| | | /*if (user.getIsActive().intValue() != 2) { |
| | | return ServerResponse.createByErrorMsg("Recharge cannot be initiated without real-name authentication"); |
| | | } |
| | | }*/ |
| | | |
| | | |
| | | ServerResponse serverResponse = checkInMoney(10, user.getId()); |