diff --git a/src/main/java/cn/com/tenlion/operator/serviceother/operator/accountrecharge/impl/AccountRechargeServiceImpl.java b/src/main/java/cn/com/tenlion/operator/serviceother/operator/accountrecharge/impl/AccountRechargeServiceImpl.java index 4ed1ae8..d7b5873 100644 --- a/src/main/java/cn/com/tenlion/operator/serviceother/operator/accountrecharge/impl/AccountRechargeServiceImpl.java +++ b/src/main/java/cn/com/tenlion/operator/serviceother/operator/accountrecharge/impl/AccountRechargeServiceImpl.java @@ -135,12 +135,12 @@ public class AccountRechargeServiceImpl extends DefaultBaseService implements IA vo.setAccountId(dto.getAccountId()); vo.setAccountMoney(PayUtil.buiderMoney(dto.getRechargeMoney())); vo.setDescription("系统充值" + (StringUtils.isEmpty(accountRechargeVO.getRechargeRemark()) ? "" : " * " + accountRechargeVO.getRechargeRemark() ) ); - String accountItemId = iAccountItemService.saveReturnId(vo); + iAccountItemService.saveReturnId(vo); // 3. 调用第三方接口, 告知充值到账 JSONObject jsonobject =new JSONObject(); jsonobject.put("money", dto.getRechargeMoney()); - sysCallbackService.save("系统充值到账", systemApiPathProperties.getCopyright() + "api/pay/recharge-success/user-id/" + accountItemId, jsonobject); + sysCallbackService.save("系统充值到账", systemApiPathProperties.getCopyright() + "api/pay/recharge-success/user-id/" + dto.getAccountId(), jsonobject); // 更新到账状态 Map params1 = getHashMap(2); params1.put("accountRechargeIds", "1");