Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
2016-09-07 10:29:54 +0800
Commit
48c57262afb7361eb00489649b859db6ccf5167a
2 parents
a08270bf
683a295c
Merge branch 'hotfix/studentsPrice'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
apps/product/models/students-handler.js
apps/product/models/students-handler.js
View file @
48c5726
...
...
@@ -110,6 +110,7 @@ exports.stuProducts = (data) => {
_
.
forEach
(
data
,
(
value
,
key
)
=>
{
delete
data
[
key
].
discount
;
data
[
key
].
marketPrice
=
data
[
key
].
salesPrice
;
delete
data
[
key
].
salesPrice
;
if
(
value
.
studentPrice
)
{
Object
.
assign
(
data
[
key
],
{
forStu
:
true
});
...
...
Please
register
or
login
to post a comment