Browse Source

Fix a bug of PaymentAppService.CreateAsync()

pull/96/head
gdlcf88 6 years ago
parent
commit
feebd33165
  1. 2
      modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Application/EasyAbp/EShop/Payments/Payments/PaymentAppService.cs

2
modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Application/EasyAbp/EShop/Payments/Payments/PaymentAppService.cs

@ -101,7 +101,7 @@ namespace EasyAbp.EShop.Payments.Payments
ItemType = PaymentsConsts.PaymentItemType, ItemType = PaymentsConsts.PaymentItemType,
ItemKey = order.Id.ToString(), ItemKey = order.Id.ToString(),
OriginalPaymentAmount = order.TotalPrice, OriginalPaymentAmount = order.TotalPrice,
ExtraProperties = new Dictionary<string, object> {{"StoreId", orders.First().StoreId.ToString()}} ExtraProperties = new Dictionary<string, object> {{"StoreId", order.StoreId.ToString()}}
}).ToList() }).ToList()
}; };

Loading…
Cancel
Save