admin
2020-05-06 24a8d17e007545f7426c48352109aa1a9c6587ee
fanli/src/main/java/com/yeshi/fanli/service/impl/money/extract/BindingAccountServiceImpl.java
@@ -135,7 +135,6 @@
                  "该支付宝账号已被其他账号绑定,请更换其他的支付宝账号来绑定");
      }
      // TODO 做频率验证-每月验证一次
      AlipayAccountValidNormalHistory latest = alipayAccountValidNormalHistoryMapper.selectLatestByUid(uid);
      if (latest != null) {
         Calendar caLatest = Calendar.getInstance();
@@ -177,7 +176,7 @@
      if (userInfo.getMyHongBao().compareTo(money) >= 0) {
         // 扣款
         userMoneyService.subUserMoney(uid, money, userMoneyDetail);
         userMoneyMsgNotificationService.alipayAccountValid(history);
         userMoneyMsgNotificationService.alipayAccountValid(history,"1个月",latest!=null);
      } else {// 余额不足,暂时不扣款,加入借贷关系
         UserMoneyDebt debt = new UserMoneyDebt();
         debt.setCreateTime(new Date());