From feebd3316503a5dbcbdb5e5c04ea41fda819bf40 Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Fri, 28 Aug 2020 20:56:23 +0800 Subject: [PATCH] Fix a bug of PaymentAppService.CreateAsync() --- .../EasyAbp/EShop/Payments/Payments/PaymentAppService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Application/EasyAbp/EShop/Payments/Payments/PaymentAppService.cs b/modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Application/EasyAbp/EShop/Payments/Payments/PaymentAppService.cs index 33973ed5..1522583c 100644 --- a/modules/EasyAbp.EShop.Payments/src/EasyAbp.EShop.Payments.Application/EasyAbp/EShop/Payments/Payments/PaymentAppService.cs +++ b/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, ItemKey = order.Id.ToString(), OriginalPaymentAmount = order.TotalPrice, - ExtraProperties = new Dictionary {{"StoreId", orders.First().StoreId.ToString()}} + ExtraProperties = new Dictionary {{"StoreId", order.StoreId.ToString()}} }).ToList() };