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
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
3d923c6f3aa64fe5e4f47137b564b92bb6495a45
2 parents
fdd6d6d7
196a749f
Merge branch 'develop' into test
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
3d923c6
...
...
@@ -210,7 +210,7 @@ class UserModel
$result
=
array
();
// 调用接口获取户收藏的品牌数据
$favBrand
=
UserData
::
favoriteBrandData
(
$uid
,
$gender
);
$favBrand
=
UserData
::
favoriteBrandData
(
$uid
,
$gender
,
$page
,
$limit
);
// 处理用户收藏的品牌数据
if
(
isset
(
$favBrand
[
'data'
])
&&
!
empty
(
$favBrand
[
'data'
][
'brand_list'
]))
{
...
...
@@ -247,6 +247,8 @@ class UserModel
}
!
empty
(
$datas
)
&&
$result
[
'hasFavBrand'
]
=
$datas
;
}
else
if
(
$page
>
1
&&
isset
(
$favBrand
[
'code'
])
&&
$favBrand
[
'code'
]
===
500
)
{
$result
[
'end'
]
=
true
;
}
return
$result
;
...
...
Please
register
or
login
to post a comment