From 04e71caf554818d4e16616000ae2ff7cc190197b Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期三, 19 三月 2025 16:28:19 +0800 Subject: [PATCH] fix:ChannlesNum统一 --- LifePayment/LifePayment.Domain/Common/UserChannle.cs | 3 ++- LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs | 2 +- LifePayment/LifePayment.Application/LifePay/LifePayService.cs | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs index 3482efa..b9f5cef 100644 --- a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs +++ b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs @@ -217,7 +217,7 @@ /// <summary> /// 涓嬪崟娓犻亾 /// </summary> - public Guid? ChannelId { get; set; } + public string? ChannelId { get; set; } } diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs index d0c1245..ab35a81 100644 --- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs +++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs @@ -569,7 +569,7 @@ PayAmount = amount.PayAmont, DiscountAmount = amount.DiscountAmount, RechargeAmount = amount.RechargeAmount, - ChannelId = channle.Id + ChannelId = channle.ChannlesNum }; await CreateLifePayOrder(orderInput); @@ -613,7 +613,7 @@ PayAmount = amount.PayAmont, DiscountAmount = amount.DiscountAmount, RechargeAmount = amount.RechargeAmount, - ChannelId = channle.Id + ChannelId = channle.ChannlesNum }; await CreateLifePayOrder(orderInput); @@ -657,7 +657,7 @@ PayAmount = amount.PayAmont, DiscountAmount = amount.DiscountAmount, RechargeAmount = amount.RechargeAmount, - ChannelId = channle.Id + ChannelId = channle.ChannlesNum }; await CreateLifePayOrder(orderInput); diff --git a/LifePayment/LifePayment.Domain/Common/UserChannle.cs b/LifePayment/LifePayment.Domain/Common/UserChannle.cs index b4d23ae..deea9b8 100644 --- a/LifePayment/LifePayment.Domain/Common/UserChannle.cs +++ b/LifePayment/LifePayment.Domain/Common/UserChannle.cs @@ -8,12 +8,13 @@ /// <summary> /// 鐢ㄦ埛Id /// </summary> - public Guid UserId { get; set; } + public Guid UserId { get; set; } /// <summary> /// 娓犻亾Id /// </summary> public virtual string ChannleId { get; set; } + public virtual User User { get; set; } } } \ No newline at end of file -- Gitblit v1.9.1