diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application.Contracts/Dtos/Pay/GoodsListOutput.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application.Contracts/Dtos/Pay/GoodsListOutput.cs index 7a25970f..e2602dab 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application.Contracts/Dtos/Pay/GoodsListOutput.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application.Contracts/Dtos/Pay/GoodsListOutput.cs @@ -21,7 +21,7 @@ public class GoodsListOutput /// 商品参考价格 /// public decimal ReferencePrice { get; set; } - + /// /// 商品实际价格(折扣后的价格) /// @@ -31,7 +31,7 @@ public class GoodsListOutput /// 折扣金额(仅尊享包) /// public decimal? DiscountAmount { get; set; } - + /// /// 商品类别 /// @@ -43,9 +43,13 @@ public class GoodsListOutput public string Remark { get; set; } - /// /// 折扣说明(仅尊享包) /// public string? DiscountDescription { get; set; } -} + + /// + /// 商品类型 + /// + public GoodsTypeEnum GoodsType { get; set; } +} \ No newline at end of file diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs index 7e38d42b..f40a46c3 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/PayService.cs @@ -261,7 +261,8 @@ public class PayService : ApplicationService, IPayService GoodsCategory = goodsType.GetGoodsCategory().ToString(), Remark = goodsType.GetRemark(), DiscountAmount = discountAmount, - DiscountDescription = discountDescription + DiscountDescription = discountDescription, + GoodsType = goodsType }; goodsList.Add(goodsItem);