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
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
c28791c39c24d850f8e3a762e262f3a6ef2a909c
1 parent
7b5991d5
students price
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
yohobuy/m.yohobuy.com/application/models/Product/Search.php
yohobuy/m.yohobuy.com/application/models/Product/Search.php
View file @
c28791c
...
...
@@ -245,6 +245,7 @@ class SearchModel
'filter_poolId'
=>
FILTER_DEFAULT
,
'showTag'
=>
FILTER_DEFAULT
,
'tagNew'
=>
FILTER_DEFAULT
,
'students'
=>
FILTER_DEFAULT
,
'tagSale'
=>
FILTER_DEFAULT
),
false
);
...
...
@@ -312,11 +313,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 +379,11 @@ class SearchModel
}
}
// 是否显示学生价
if
(
isset
(
$condition
[
'students'
]))
{
$data
[
'students'
]
=
true
;
}
return
$data
;
}
...
...
Please
register
or
login
to post a comment