fix: 商品类型返回值
This commit is contained in:
@@ -43,9 +43,13 @@ public class GoodsListOutput
|
|||||||
public string Remark { get; set; }
|
public string Remark { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 折扣说明(仅尊享包)
|
/// 折扣说明(仅尊享包)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? DiscountDescription { get; set; }
|
public string? DiscountDescription { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 商品类型
|
||||||
|
/// </summary>
|
||||||
|
public GoodsTypeEnum GoodsType { get; set; }
|
||||||
}
|
}
|
||||||
@@ -261,7 +261,8 @@ public class PayService : ApplicationService, IPayService
|
|||||||
GoodsCategory = goodsType.GetGoodsCategory().ToString(),
|
GoodsCategory = goodsType.GetGoodsCategory().ToString(),
|
||||||
Remark = goodsType.GetRemark(),
|
Remark = goodsType.GetRemark(),
|
||||||
DiscountAmount = discountAmount,
|
DiscountAmount = discountAmount,
|
||||||
DiscountDescription = discountDescription
|
DiscountDescription = discountDescription,
|
||||||
|
GoodsType = goodsType
|
||||||
};
|
};
|
||||||
|
|
||||||
goodsList.Add(goodsItem);
|
goodsList.Add(goodsItem);
|
||||||
|
|||||||
Reference in New Issue
Block a user