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
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
74b74ceb7c91524d9b57a01c4f21dc15441941bf
2 parents
7b5991d5
ef1f1417
Merge branch 'hotfix/studentPrice'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
yohobuy/m.yohobuy.com/application/models/Product/Search.php
yohobuy/m.yohobuy.com/application/models/Product/Search.php
View file @
74b74ce
...
...
@@ -156,6 +156,7 @@ class SearchModel
'channel'
=>
FILTER_DEFAULT
,
'ageLevel'
=>
FILTER_DEFAULT
,
'p_d'
=>
FILTER_DEFAULT
,
'students'
=>
FILTER_DEFAULT
,
'filter_poolId'
=>
FILTER_DEFAULT
),
false
);
...
...
@@ -245,6 +246,7 @@ class SearchModel
'filter_poolId'
=>
FILTER_DEFAULT
,
'showTag'
=>
FILTER_DEFAULT
,
'tagNew'
=>
FILTER_DEFAULT
,
'students'
=>
FILTER_DEFAULT
,
'tagSale'
=>
FILTER_DEFAULT
),
false
);
...
...
@@ -312,11 +314,6 @@ class SearchModel
$condition
[
'filter_poolId'
]
=
rawurldecode
(
$condition
[
'filter_poolId'
]);
}
// 是否显示学生价
if
(
isset
(
$condition
[
'students'
]))
{
$data
[
'students'
]
=
true
;
}
// 转换排序方式
// $type = $this->get('type', '');
// $order = $this->get('order', 0);
...
...
@@ -383,6 +380,11 @@ class SearchModel
}
}
// 是否显示学生价
if
(
isset
(
$condition
[
'students'
]))
{
$data
[
'students'
]
=
true
;
}
return
$data
;
}
...
...
Please
register
or
login
to post a comment