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
周少峰
2016-06-21 15:30:46 +0800
Commit
117052945d1a2aac5e2520d995fcf12e7b7765c8
1 parent
dc8141bb
common chanel search goods filter outlets
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
library/LibModels/Web/Product/SearchData.php
library/LibModels/Web/Product/SearchData.php
View file @
1170529
...
...
@@ -374,6 +374,7 @@ class SearchData
$param
=
array
();
$param
[
'status'
]
=
1
;
// 是否上架,1表示在架,2表示不在
$param
[
'sales'
]
=
'Y'
;
// 只搜索销售的产品
$param
[
'outlets'
]
=
2
;
// 非奥莱商品
$param
[
'stocknumber'
]
=
1
;
// 过滤掉已售罄的商品
$param
[
'attribute_not'
]
=
2
;
//过滤掉赠品
if
(
!
isset
(
$condition
[
'order'
]))
{
...
...
Please
register
or
login
to post a comment