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
郝肖肖
9 years ago
Commit
c562beed4c4265497496b499a3278051545ad7bd
1 parent
cac9055c
店铺装修 商品总数
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
yohobuy/www.yohobuy.com/application/models/Product/Shop.php
yohobuy/www.yohobuy.com/application/models/Product/Shop.php
View file @
c562bee
...
...
@@ -200,6 +200,7 @@ class ShopModel
$data
[
'goods'
]
=
$result
[
'goods'
];
$data
[
'opts'
]
=
$result
[
'opts'
];
$data
[
'totalCount'
]
=
$result
[
'totalCount'
];
//商品总数
$data
[
'leftContent'
]
=
isset
(
$result
[
'leftContent'
])
?
$result
[
'leftContent'
]
:
''
;
$data
[
'filters'
]
=
$result
[
'filters'
];
$data
[
'pathNav'
]
=
array_merge
(
...
...
@@ -227,6 +228,7 @@ class ShopModel
$urlList
[
'product'
]
=
SearchData
::
getProductUrl
(
$searchCondition
[
'condition'
]);
// 组合搜索分类url
$sortCondition
=
array
();
$sortCondition
[
'brand'
]
=
self
::
getShopsBrandIds
(
$condition
[
'shop'
]);
if
(
isset
(
$searchCondition
[
'condition'
][
'misort'
])
&&
!
empty
(
$searchCondition
[
'condition'
][
'misort'
]))
{
$sortCondition
[
'needSmallSort'
]
=
1
;
}
...
...
Please
register
or
login
to post a comment