fix: 修改问题

This commit is contained in:
TS-QD1 2025-04-18 19:03:44 +08:00
parent 67341e851d
commit 32082ae821

View File

@ -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<String, Object> params1 = getHashMap(2);
params1.put("accountRechargeIds", "1");