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
043958976388e3ff3b57e4e3be97e8300a033b04
2 parents
af7c7715
e6259ad5
Merge branch 'develop/wap' into beta/wap
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
0439589
...
...
@@ -190,7 +190,7 @@ class UserModel
// 处理用户收藏的商品数据
do
{
// 开始就没获取到数据或者获取的数据为空时的处理
if
(
!
isset
(
$favProduct
[
'data'
][
'product_list'
]
)
&&
$page
==
1
)
{
if
(
(
!
$favProduct
||
isset
(
$favProduct
[
'data'
][
'product_list'
])
&&
empty
(
$favProduct
[
'data'
][
'product_list'
])
)
&&
$page
==
1
)
{
break
;
}
...
...
@@ -253,7 +253,7 @@ class UserModel
// 处理用户收藏的品牌数据
do
{
// 开始就没获取到数据或者获取的数据为空时的处理
if
(
!
isset
(
$favBrand
[
'data'
][
'brand_list'
]
)
&&
$page
==
1
)
{
if
(
(
!
$favBrand
||
isset
(
$favProduct
[
'data'
][
'$favBrand'
])
&&
empty
(
$favProduct
[
'data'
][
'$favBrand'
])
)
&&
$page
==
1
)
{
break
;
}
...
...
Please
register
or
login
to post a comment