Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
8ef1c357
Commit
8ef1c357
authored
Sep 01, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
18efc875
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
GuideCarModule.cs
Mall.Module.Product/GuideCarModule.cs
+12
-1
GuideCarController.cs
Mall.WebApi/Controllers/Product/GuideCarController.cs
+2
-0
No files found.
Mall.Module.Product/GuideCarModule.cs
View file @
8ef1c357
...
...
@@ -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
;
}
...
...
Mall.WebApi/Controllers/Product/GuideCarController.cs
View file @
8ef1c357
...
...
@@ -38,6 +38,8 @@ namespace Mall.WebApi.Controllers.MallBase
var
req
=
RequestParm
;
var
model
=
guideCarModule
.
GetGuideCarInfo
(
req
.
TenantId
,
req
.
MallBaseId
);
return
ApiResult
.
Success
();
}
#
endregion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment