Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
Rock Zhang
9 years ago
Commit
7dad6dfa3581152f148a023c57dbd1687769efdd
1 parent
4876514f
修复尺码错乱的bug,保持和app一致
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
library/Plugin/DataProcess/ListProcess.php
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Newsale.php
library/Plugin/DataProcess/ListProcess.php
View file @
7dad6df
...
...
@@ -247,6 +247,9 @@ class ListProcess
private
static
function
priceRange
(
$data
)
{
// 首先对价格进行排序
ksort
(
$data
,
SORT_NUMERIC
);
$result
=
array
(
'title'
=>
'价格'
,
'name'
=>
'所有价格'
,
...
...
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Newsale.php
View file @
7dad6df
...
...
@@ -177,7 +177,7 @@ class NewsaleController extends AbstractAction
$color
=
$this
->
get
(
'color'
,
null
);
$size
=
$this
->
get
(
'size'
,
null
);
$price
=
$this
->
get
(
'price'
,
null
);
$p_d
=
$this
->
get
(
'discount'
,
null
)
;
$p_d
=
'0.1,0.3'
;
$dayLimit
=
$this
->
get
(
'dayLimit'
,
null
);
$limit
=
$this
->
get
(
'limit'
,
60
);
$page
=
$this
->
get
(
'page'
,
1
);
...
...
@@ -191,6 +191,7 @@ class NewsaleController extends AbstractAction
$data
=
NewsaleData
::
selectNewSaleProducts
(
$gender
,
$brand
,
$sort
,
$color
,
$size
,
$price
,
$p_d
,
$channel
,
$dayLimit
,
$limit
,
$page
,
$order
);
print_r
(
$data
);
$result
=
\Product\NewsaleModel
::
filterData
(
$data
,
$gender
);
}
...
...
Please
register
or
login
to post a comment