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
陈峰
6 years ago
Commit
a27f15d4ea02a19947a9cb8146eff60d1c8536ca
1 parent
2163965e
remove yohobi
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
apps/product/models/detail-service.js
apps/product/models/detail-service.js
View file @
a27f15d
...
...
@@ -1196,18 +1196,18 @@ function _detailDataPkg(origin, uid, vipLevel, cookies) {
result
.
coupon
=
_getCoupon
(
coupon
);
// 有货币
if
(
!
_
.
includes
([
''
,
'0'
],
propOrigin
(
'yohoCoinNum'
)))
{
const
C_VALUE
=
{
type
:
'返有货币'
,
des
:
'每件返 '
,
rest
:
'个 有货币'
};
result
.
activity
.
push
({
type
:
C_VALUE
.
type
,
des
:
`
$
{
C_VALUE
.
des
}
$
{
propOrigin
(
'yohoCoinNum'
)}
$
{
C_VALUE
.
rest
}
`
});
}
// if (!_.includes(['', '0'], propOrigin('yohoCoinNum'))) {
// const C_VALUE = {
// type: '返有货币',
// des: '每件返 ',
// rest: '个 有货币'
// };
// result.activity.push({
// type: C_VALUE.type,
// des: `${C_VALUE.des}${propOrigin('yohoCoinNum')}${C_VALUE.rest}`
// });
// }
// 上市期
if
(
propOrigin
(
'expect_arrival_time'
))
{
...
...
Please
register
or
login
to post a comment