fanli/src/main/java/com/yeshi/fanli/service/impl/tlj/UserTaoLiJinOriginServiceImpl.java
@@ -565,4 +565,18 @@ userTaoLiJinDetailService.insertSelective(detail); } @Override @Transactional public void exchangeMoney(Long uid, BigDecimal money) throws UserTaoLiJinOriginException{ if (uid == null || money == null) { throw new UserTaoLiJinOriginException(1, "参数不能为空"); } // 添加用户红包 userMoneyExtraService.addTaoLiJin(uid, money, false); // 添加新增记录 UserTaoLiJinOrigin origin = saveOrigin(uid, 1, money, TaoLiJinOriginEnum.exchange); // 红包明细 userTaoLiJinDetailService.createAddDetail(origin); } }