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
d2d4cdb1
Commit
d2d4cdb1
authored
Oct 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sdzq' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
into HK
parents
fa2c46e0
6d869f63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
RB_Miniprogram_Template_Extend.cs
.../Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
+5
-0
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+7
-3
No files found.
Mall.Model/Extend/MarketingCenter/RB_Miniprogram_Template_Extend.cs
View file @
d2d4cdb1
...
@@ -2708,6 +2708,11 @@ namespace Mall.Model.Extend.MarketingCenter
...
@@ -2708,6 +2708,11 @@ namespace Mall.Model.Extend.MarketingCenter
/// 课程评分 2020-10-13 ld
/// 课程评分 2020-10-13 ld
/// </summary>
/// </summary>
public
decimal
courseScore
{
get
;
set
;
}
public
decimal
courseScore
{
get
;
set
;
}
/// <summary>
/// 定金服务商品使用
/// </summary>
public
decimal
DepositMoney
{
get
;
set
;
}
}
}
...
...
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
d2d4cdb1
...
@@ -873,6 +873,7 @@ namespace Mall.WebApi.Controllers
...
@@ -873,6 +873,7 @@ namespace Mall.WebApi.Controllers
lastItem
.
OriginalPrice
=
Math
.
Round
((
tempGood
?.
OriginalPrice
??
0
),
2
);
lastItem
.
OriginalPrice
=
Math
.
Round
((
tempGood
?.
OriginalPrice
??
0
),
2
);
lastItem
.
courseScore
=
(
tempGood
.
CourseScore
??
0
);
lastItem
.
courseScore
=
(
tempGood
.
CourseScore
??
0
);
lastItem
.
IsChooseServicePerson
=
tempGood
.
IsChooseServicePerson
;
lastItem
.
IsChooseServicePerson
=
tempGood
.
IsChooseServicePerson
;
lastItem
.
DepositMoney
=
Math
.
Round
((
tempGood
?.
DepositMoney
??
0
),
2
);
newGoodsList
.
Add
(
lastItem
);
newGoodsList
.
Add
(
lastItem
);
}
}
}
}
...
@@ -905,7 +906,8 @@ namespace Mall.WebApi.Controllers
...
@@ -905,7 +906,8 @@ namespace Mall.WebApi.Controllers
picUrl
=
Common
.
Config
.
GetFileUrl
(
gItem
.
CoverImage
),
picUrl
=
Common
.
Config
.
GetFileUrl
(
gItem
.
CoverImage
),
OriginalPrice
=
Math
.
Round
((
gItem
?.
OriginalPrice
??
0
),
2
),
OriginalPrice
=
Math
.
Round
((
gItem
?.
OriginalPrice
??
0
),
2
),
courseScore
=
gItem
.
CourseScore
??
0
,
courseScore
=
gItem
.
CourseScore
??
0
,
IsChooseServicePerson
=
gItem
.
IsChooseServicePerson
IsChooseServicePerson
=
gItem
.
IsChooseServicePerson
,
DepositMoney
=
gItem
.
DepositMoney
});
});
}
}
}
}
...
@@ -1033,8 +1035,9 @@ namespace Mall.WebApi.Controllers
...
@@ -1033,8 +1035,9 @@ namespace Mall.WebApi.Controllers
picUrl
=
Common
.
Config
.
GetFileUrl
(
gItem
.
CoverImage
),
picUrl
=
Common
.
Config
.
GetFileUrl
(
gItem
.
CoverImage
),
OriginalPrice
=
Math
.
Round
((
gItem
?.
OriginalPrice
??
0
),
2
),
OriginalPrice
=
Math
.
Round
((
gItem
?.
OriginalPrice
??
0
),
2
),
courseScore
=
gItem
.
CourseScore
??
0
,
courseScore
=
gItem
.
CourseScore
??
0
,
IsChooseServicePerson
=
gItem
.
IsChooseServicePerson
IsChooseServicePerson
=
gItem
.
IsChooseServicePerson
,
});
DepositMoney
=
gItem
.
DepositMoney
,
});
}
}
}
}
}
}
...
@@ -1160,6 +1163,7 @@ namespace Mall.WebApi.Controllers
...
@@ -1160,6 +1163,7 @@ namespace Mall.WebApi.Controllers
childItem
.
OriginalPrice
=
Math
.
Round
((
tempGood
?.
OriginalPrice
??
0
),
2
);
childItem
.
OriginalPrice
=
Math
.
Round
((
tempGood
?.
OriginalPrice
??
0
),
2
);
childItem
.
courseScore
=
(
tempGood
.
CourseScore
??
0
);
childItem
.
courseScore
=
(
tempGood
.
CourseScore
??
0
);
childItem
.
IsChooseServicePerson
=
tempGood
.
IsChooseServicePerson
;
childItem
.
IsChooseServicePerson
=
tempGood
.
IsChooseServicePerson
;
childItem
.
DepositMoney
=
tempGood
.
DepositMoney
;
newGoodsList
.
Add
(
childItem
);
newGoodsList
.
Add
(
childItem
);
}
}
}
}
...
...
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