Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
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
1
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chenl
8 years ago
Commit
50ca48d8291a738485925b4a0bbee6516397fe79
1 parent
03a54911
修复了红人店铺在android端未传递gender参数导致数据不正确的问题。review by 张丽霞。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
js/redPersonBrand/services/RedBrandService.js
js/redPersonBrand/services/RedBrandService.js
View file @
50ca48d
...
...
@@ -64,22 +64,26 @@ export default class RedBrandService {
}
async
productList
(
shop_id
,
yh_channel
=
1
,
order
=
's_t_asc'
,
page
=
1
,
limit
=
60
,
filterFactors
=
{},
v
=
7
)
{
let
bodyParams
=
{
method
:
'app.search.li'
,
shop_id
,
yh_channel
,
order
,
page
,
limit
,
status
:
1
,
sales
:
'Y'
,
stocknumber
:
1
,
attribute_not
:
2
,
v
,
...
filterFactors
,
};
//性别需要进行特别处理,筛选中无性别未指定时需要设置为空,否则在android端会进行补齐当前频道的gender参数
bodyParams
.
gender
=
filterFactors
.
gender
?
filterFactors
.
gender
:
''
;
return
await
this
.
api
.
get
({
url
:
''
,
body
:
{
method
:
'app.search.li'
,
shop_id
,
yh_channel
,
order
,
page
,
limit
,
status
:
1
,
sales
:
'Y'
,
stocknumber
:
1
,
attribute_not
:
2
,
...
filterFactors
,
v
,
}
body
:
bodyParams
,
})
.
then
((
json
)
=>
{
return
json
;
...
...
于良
@yul
8 years ago
mentioned in commit
cf8d3af6
Please
register
or
login
to post a comment