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
6896f0708b05e608755f6ea8ffe46026dfff1d76
1 parent
f6eb1702
brandname error
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/modules/Category/controllers/Brand.php
yohobuy/m.yohobuy.com/application/modules/Category/controllers/Brand.php
View file @
6896f07
...
...
@@ -67,6 +67,7 @@ class BrandController extends AbstractAction
if
(
!
empty
(
$uid
))
{
$data
[
'history'
]
=
BrandModel
::
branchSearchHistory
(
$uid
);
}
// print_r($data['history']); exit;
//热搜品牌
$data
[
'hot'
]
=
BrandModel
::
branchSearchHot
();
// 渲染模板
...
...
@@ -81,7 +82,7 @@ class BrandController extends AbstractAction
{
$result
=
array
();
$uid
=
$this
->
getUid
();
$brandName
=
$this
->
ge
t
(
'brandName'
);
$brandName
=
$this
->
pos
t
(
'brandName'
);
do
{
if
(
empty
(
$uid
)
||
empty
(
$brandName
))
{
break
;
...
...
Please
register
or
login
to post a comment