Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
a7ca13d25e24eebb982fe9d75a5f3f3b36a81d26
1 parent
a931e1ce
去除频道页的推荐品牌和custorm_brans楼层类型中品牌列表链接中的gender参数
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
library/Plugin/DataProcess/FloorProcess.php
library/Plugin/DataProcess/FloorProcess.php
View file @
a7ca13d
...
...
@@ -208,7 +208,7 @@ class FloorProcess
foreach
(
$data
[
'list'
]
as
&
$one
)
{
if
(
isset
(
$one
[
'url'
]))
{
$one
[
'url'
]
=
Helpers
::
getFilterUrl
(
$one
[
'url'
]);
isset
(
self
::
$channel
[
$type
])
&&
$one
[
'url'
]
.=
'?gender='
.
self
::
$channel
[
$type
];
//
isset(self::$channel[$type]) && $one['url'] .= '?gender=' . self::$channel[$type];
}
$one
[
'img'
]
=
Helpers
::
getImageUrl
(
$one
[
'src'
],
158
,
174
);
unset
(
$one
[
'src'
]);
...
...
@@ -428,9 +428,9 @@ class FloorProcess
{
// URL附加参数
$param
=
''
;
if
(
isset
(
self
::
$channel
[
$type
]))
{
/*
if (isset(self::$channel[$type])) {
$param = '/?gender=' . self::$channel[$type];
}
}
*/
$result
=
array
();
$result
[
'hotBrandsScroll'
][
'name'
]
=
$data
[
'title'
][
'title'
];
...
...
Please
register
or
login
to post a comment