Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
周少峰
9 years ago
Commit
c418197f23661bd8d1ad382daac4470ce64bba9f
1 parent
8bb594a2
男女封面
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
library/WebPlugin/HelperSearch.php
library/WebPlugin/HelperSearch.php
View file @
c418197
...
...
@@ -166,10 +166,12 @@ class HelperSearch
//再到着
//年终大促
// 年中大促
$gender
=
isset
(
self
::
$options
[
'gender'
])
?
explode
(
','
,
self
::
$options
[
'gender'
])[
0
]
:
0
;
$gender
=
0
;
if
(
isset
(
self
::
$options
[
'gender'
]))
{
$genderArr
=
explode
(
','
,
self
::
$options
[
'gender'
]);
$gender
=
$genderArr
[
0
];
}
foreach
(
$val
[
'goods_list'
]
as
$k
=>
$v
){
$goods_list
[
$k
][
'url'
]
=
Helpers
::
getUrlBySkc
(
$val
[
'product_id'
],
$v
[
'goods_id'
],
$val
[
'cn_alphabet'
]);
//女封
if
(
isset
(
$v
[
'cover_1'
])
&&
$gender
==
1
)
{
...
...
Please
register
or
login
to post a comment