Commit 8ef1c357 authored by liudong1993's avatar liudong1993

1

parent 18efc875
......@@ -154,7 +154,18 @@ namespace Mall.Module.Product
{
var model = guideCar_BaseRepository.GetList(new RB_GuideCar_Base_Extend() { TenantId = tenantId, MallBaseId = mallBaseId }).FirstOrDefault();
if (model == null) {
model = new RB_GuideCar_Base_Extend();
model = new RB_GuideCar_Base_Extend() {
AdvanceDay=1,
MallBaseId=mallBaseId,
CancelHour=1,
CostPrice=0,
Id=0,
InsuranceDescription="",
InsuranceName="",
IsConfirm=1,
PagePath="",
};
}
return model;
}
......
......@@ -38,6 +38,8 @@ namespace Mall.WebApi.Controllers.MallBase
var req = RequestParm;
var model = guideCarModule.GetGuideCarInfo(req.TenantId, req.MallBaseId);
return ApiResult.Success();
}
#endregion
......
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