|
|
@@ -243,7 +243,7 @@ public class VaultodyServiceImpl extends BaseSettlementServiceImpl implements Va
|
|
|
log.error("vaultody withdraw callback valid error");
|
|
|
throw new ServiceException("vaultody withdraw callback valid error");
|
|
|
}
|
|
|
- VaultodyCallbackEntity entity = com.alibaba.fastjson.JSON.parseObject(content, VaultodyCallbackEntity.class);
|
|
|
+ VaultodyCallbackEntity entity = JSON.parseObject(content, VaultodyCallbackEntity.class);
|
|
|
VaultodyDataEntity dataEntity = entity.getData();
|
|
|
String event = dataEntity.getEvent();
|
|
|
VaultodyItemEntity itemEntity = dataEntity.getItem();
|
|
|
@@ -255,7 +255,7 @@ public class VaultodyServiceImpl extends BaseSettlementServiceImpl implements Va
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isEmpty(event)) {
|
|
|
- log.error("vaultody withdraw callback:event is empty,{}", com.alibaba.fastjson.JSON.toJSONString(entity));
|
|
|
+ log.error("vaultody withdraw callback:event is empty,{}", JSON.toJSONString(entity));
|
|
|
return BaseResultDto.error();
|
|
|
}
|
|
|
|
|
|
@@ -264,7 +264,7 @@ public class VaultodyServiceImpl extends BaseSettlementServiceImpl implements Va
|
|
|
return BaseResultDto.error();
|
|
|
}
|
|
|
|
|
|
- SettlementWithdrawRecordTable withdrawRecordTable = settlementWithdrawRecordRepository.findFirstByRequestSerialAndChannelCode(requestId, SettlementConstant.VAULTODY_PAY_KEY);
|
|
|
+ SettlementWithdrawRecordTable withdrawRecordTable = settlementWithdrawRecordRepository.findFirstByRequestSerialAndChannelCode(requestId, SettlementConstant.VAULTODY_PAY_REMIT);
|
|
|
if (withdrawRecordTable == null) {
|
|
|
log.error("Vaultody withdraw 通知回调:未找到对应的记录,{}", content);
|
|
|
return BaseResultDto.error();
|