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
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
fa5d5bbba9ea694b1b51c65c52049ad2b715d393
1 parent
1b84fe2f
return coin
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
apps/product/models/detail-service.js
apps/product/models/detail-service.js
View file @
fa5d5bb
...
...
@@ -628,12 +628,22 @@ const _detailDataPkg = (origin, uid, vipLevel) => {
rest
:
'个 YOHO币'
};
if
(
origin
.
productPriceBo
.
yohoCoinNum
&&
origin
.
productPriceBo
.
yohoCoinNum
!==
0
)
{
result
.
activity
.
push
({
type
:
C_VALUE
.
type
,
des
:
`
$
{
C_VALUE
.
des
}
$
{
origin
.
productPriceBo
.
yohoCoinNum
}
$
{
C_VALUE
.
rest
}
`
});
}
do
{
if
(
origin
.
productPriceBo
.
yohoCoinNum
&&
origin
.
productPriceBo
.
yohoCoinNum
!==
0
)
{
result
.
activity
.
push
({
type
:
C_VALUE
.
type
,
des
:
`
$
{
C_VALUE
.
des
}
$
{
origin
.
productPriceBo
.
yohoCoinNum
}
$
{
C_VALUE
.
rest
}
`
});
break
;
}
if
(
origin
.
productPriceBo
.
studentCoinNum
&&
origin
.
productPriceBo
.
studentCoinNum
!==
0
)
{
result
.
activity
.
push
({
type
:
C_VALUE
.
type
,
des
:
`
$
{
C_VALUE
.
des
}
$
{
origin
.
productPriceBo
.
studentCoinNum
}
$
{
C_VALUE
.
rest
}
`
});
}
}
while
(
false
)
// 上市期
if
(
origin
.
expectArrivalTime
)
{
...
...
Please
register
or
login
to post a comment