Commit d0eecf82 authored by 黄奎's avatar 黄奎

页面修改

parent 90b0cf25
......@@ -3460,7 +3460,7 @@ namespace Mall.Module.Product
var servicePersionList= reserve_ServicePersonalRepository.GetServicePersonalList(new Model.Extend.Reserve.RB_Reserve_ServicePersonal_Extend()
{
StoreId = storeId,
}).ToList();
})?.ToList()??new List<Model.Extend.Reserve.RB_Reserve_ServicePersonal_Extend>();
return new
{
goods = new
......@@ -3514,11 +3514,6 @@ namespace Mall.Module.Product
payment_order,//订单数量
confine_order_count = model.LimitBuyOrderNum,
is_area_limit = model.IsAreaBuy,
area_limit = new List<object>() { new { list = model.AreaList.Select(x => new {
area_id=x.AreaId,
area_name=x.AreaName,
area_type=x.AreaType
}) } },
form_id = model.FormsId,
sales = (model.SalesNum ?? 0) + payment_num,//已售出数量 + 订单商品数量//
name = model.Name,
......@@ -3583,10 +3578,6 @@ namespace Mall.Module.Product
is_quick_shop = model.IsQuickBuy,
is_sell_well = model.IsSellWell,
is_negotiable = model.IsGoodsNegotiable,
freeShippingName = model.FreeShippingModel.Name,
fullMoneyPinkage = model.FreeShippingModel.FullMoneyPinkage ?? 0,
fullNumPinkage = model.FreeShippingModel.FullNumPinkage ?? 0,
freeShippingUrl = model.FreeShippingModel.FreeShippingUrl,
marketingLogo = model.MarketingLogo,
//分类
cats = model.CategoryList.Select(x => new
......
......@@ -135,7 +135,8 @@ namespace Mall.WebApi.Controllers.Reserve
var storeModel = contentModule.GetStoresListModule(new RB_Stores_Extend()
{
Id = storeId,
MallBaseId = parms.MallBaseId
MallBaseId = parms.MallBaseId,
CurrentPosition=position
}, isFirst: true)?.FirstOrDefault();
string serviceTime = "";
if (storeModel != null)
......
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