| | |
| | | } |
| | | } |
| | | //(2)每24小时只能提现一次 |
| | | // 提现次数 |
| | | DataDictionaryCustom withdrawOutTimesDic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(DataDictionaryEnum.OUT_ACCOUNT_PROFIT.getType(), DataDictionaryEnum.OUT_ACCOUNT_PROFIT.getCode()); |
| | | String withdrawOutTimesStr = withdrawOutTimesDic.getValue() == null ? "1" : withdrawOutTimesDic.getValue(); |
| | | int withdrawOutTimes = Integer.parseInt(withdrawOutTimesStr); |
| | | Integer withdrawTimesReal = memberCoinWithdrawDao.selectByMemberIdAndCreateTime(memberId,DateUtil.format(DateUtil.date(),"yyyy-MM-dd")); |
| | | if(1 > withdrawTimesReal){ |
| | | if(withdrawOutTimes < withdrawTimesReal){ |
| | | return new FebsResponse().fail().message(MessageSourceUtils.getString("member_err_0014")); |
| | | } |
| | | |