|
|
|
@ -125,7 +125,7 @@ public class OrderEventHandler extends BaseApplicationService { |
|
|
|
if (Objects.nonNull(term)) { |
|
|
|
validityPeriodDays = Integer.parseInt(term.getValue()); |
|
|
|
} |
|
|
|
PaidMatchmakerFeeBySdkDto dto = new PaidMatchmakerFeeBySdkDto(order.getUserId(), validityPeriodDays); |
|
|
|
PaidMatchmakerFeeBySdkDto dto = new PaidMatchmakerFeeBySdkDto(order.getUserId(), order.getSettlementAmount(), validityPeriodDays); |
|
|
|
uecServerApplicationService.userPaidMatchmakerFee(dto); |
|
|
|
} |
|
|
|
//悬赏招亲 |
|
|
|
@ -161,7 +161,7 @@ public class OrderEventHandler extends BaseApplicationService { |
|
|
|
Order order = Order.build(userId, miId, OrderBelongingEnum.CUSTOMER, marriageInformation.getNickName(), OrderTypeEnum.NORMAL); |
|
|
|
ProductSpec productSpec = product.getProductSpecList().get(0); |
|
|
|
OrderItem orderItem = OrderItem.build(productSpec.getProductId(), productSpec.getId(), product.getProductType(), product.getMainCategory(), product.getSubCategory(), |
|
|
|
product.getProductTitle(), BigDecimal.ZERO,BigDecimal.ZERO, 1); |
|
|
|
product.getProductTitle(), BigDecimal.ZERO, BigDecimal.ZERO, 1); |
|
|
|
orderItem.setSettlementAmount(BigDecimal.ZERO); |
|
|
|
order.setSettlementAmount(BigDecimal.ZERO); |
|
|
|
order.setOrderItemList(Collections.singletonList(orderItem)); |
|
|
|
|