Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
f94ea395f137da466cdd21e9683d4df321bef11b
1 parent
f90d9cb5
最新上架的isNew不用显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Index/Home.php
yohobuy/www.yohobuy.com/application/models/Index/Home.php
View file @
f94ea39
...
...
@@ -239,7 +239,7 @@ class HomeModel
$val
[
'tags'
][
'isFew'
]
=
$val
[
'is_soon_sold_out'
];
$val
[
'tags'
][
'isLimit'
]
=
$val
[
'tags'
][
'is_discount'
];
$val
[
'tags'
][
'is_discount'
]
=
$val
[
'is_soon_sold_out'
];
$val
[
'tags'
][
'isNew'
]
=
$val
[
'tags'
][
'is_new'
];
$val
[
'tags'
][
'isNew'
]
=
false
;
//
$val['tags']['is_new'];
$val
[
'tags'
][
'isYearMidPromotion'
]
=
$val
[
'tags'
][
'midYear'
];
$val
[
'tags'
][
'isYearEndPromotion'
]
=
$val
[
'tags'
][
'yearEnd'
];
unset
(
$val
[
'tags'
][
'is_advance'
],
$val
[
'tags'
][
'is_discount'
],
$val
[
'tags'
][
'is_limited'
],
$val
[
'tags'
][
'is_new'
],
...
...
Please
register
or
login
to post a comment