Commit db8b67bc authored by 黄奎's avatar 黄奎

页面修改

parent be0e00a8
...@@ -72,5 +72,11 @@ namespace Mall.Common.Enum.Goods ...@@ -72,5 +72,11 @@ namespace Mall.Common.Enum.Goods
/// </summary> /// </summary>
[EnumField("网教课程")] [EnumField("网教课程")]
KCGoods = 12, KCGoods = 12,
/// <summary>
/// 线下服务
/// </summary>
[EnumField("线下服务")]
OfflineService = 13,
} }
} }
...@@ -5211,7 +5211,7 @@ namespace Mall.Module.Product ...@@ -5211,7 +5211,7 @@ namespace Mall.Module.Product
#endregion #endregion
TotalMoney += (item.Final_Price ?? 0); TotalMoney += (item.Final_Price ?? 0);
item.OrderType = gmodel.GoodsType; item.OrderType = OrderTypeEnum.OfflineService;
item.GoodsName = gmodel.Name; item.GoodsName = gmodel.Name;
item.CoverImage = ""; item.CoverImage = "";
if (!string.IsNullOrEmpty(gmodel.CarouselImage) && gmodel.CarouselImage != "[]") if (!string.IsNullOrEmpty(gmodel.CarouselImage) && gmodel.CarouselImage != "[]")
......
...@@ -718,7 +718,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -718,7 +718,7 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
return ApiResult.ParamIsNull("请选择服务门店"); return ApiResult.ParamIsNull("请选择服务门店");
} }
demodel.Consignee = userInfo.Name;
demodel.BuyerMessage ??= "";//买家留言 demodel.BuyerMessage ??= "";//买家留言
demodel.OrderSource ??= Common.Enum.User.UserSourceEnum.WeiXin; demodel.OrderSource ??= Common.Enum.User.UserSourceEnum.WeiXin;
#region 赋默认值 #region 赋默认值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment