Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
郭成尧
2018-01-02 10:02:15 +0800
Commit
a43fefb521075d3ca93f79627d2895aa6a15ad1e
1 parent
ef4233ce
sale-type-add
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
utils/list-params-process.js
utils/search-process.js
utils/list-params-process.js
View file @
a43fefb
...
...
@@ -19,6 +19,7 @@ const PARAMMAP = {
lt
:
'limit'
,
mi
:
'misort'
,
ms
:
'msort'
,
nb
:
'navBar'
,
nw
:
'new'
,
od
:
'order'
,
ol
:
'outlets'
,
...
...
@@ -33,6 +34,7 @@ const PARAMMAP = {
sh
:
'shop_id'
,
si
:
'specialsale_id'
,
so
:
'sort'
,
sp
:
'saleType'
,
st
:
'style'
,
sz
:
'size'
,
tp
:
'type'
...
...
utils/search-process.js
View file @
a43fefb
...
...
@@ -332,6 +332,9 @@ const getSearchParamsWithoutMethod = (params) => {
if
(
params
.
shelveTime
)
{
finalParams
.
shelveTime
=
params
.
shelveTime
;
}
if
(
params
.
saleType
)
{
finalParams
.
saleType
=
params
.
saleType
;
}
return
finalParams
;
};
...
...
Please
register
or
login
to post a comment