update 更新支付的消费退款

This commit is contained in:
2023-08-26 15:46:12 +08:00
parent 4bad102219
commit 0f6b0958e4
5 changed files with 111 additions and 47 deletions

View File

@@ -201,7 +201,7 @@ public class TempController extends BaseController {
throw new BusinessException("", "查询信息为空");
}
String appId = pileMerchantInfoService.queryAppIdByMerchantId(orderBasicInfo.getMerchantId());
orderBasicInfoService.doPaymentConfirm(orderBasicInfo, adapayMemberAccount, appId);
orderBasicInfoService.doPaymentConfirmWithDelay(orderBasicInfo, adapayMemberAccount, appId);
} catch (Exception e) {
logger.error("临时接口交易确认接口 error,", e);
response = new RestApiResponse<>(ReturnCodeEnum.CODE_WEIXIN_REFUND_ERROR);
@@ -230,7 +230,7 @@ public class TempController extends BaseController {
throw new BusinessException("", "查询信息为空");
}
String appId = pileMerchantInfoService.queryAppIdByMerchantId(merchantId);
orderBasicInfoService.doBalancePayment(orderBasicInfo, adapayMemberAccount, appId);
orderBasicInfoService.doBalancePaymentWithDelay(orderBasicInfo, adapayMemberAccount, appId);
} catch (Exception e) {
logger.error("临时接口交易确认接口 error,", e);
response = new RestApiResponse<>(ReturnCodeEnum.CODE_WEIXIN_REFUND_ERROR);