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
Download as
Email Patches
Plain Diff
Browse Files
Authored by
于良
8 years ago
Commit
4bc546ee9415766cddfc9859ffe0a67874638633
1 parent
c16cb1bf
品类列表 ‘全部xx’ 数据不对问题修复 review by chenlin
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
js/classify/reducers/category/categoryActions.js
js/classify/services/CategoryService.js
js/classify/reducers/category/categoryActions.js
View file @
4bc546e
...
...
@@ -55,8 +55,8 @@ function parseCategoryList(json) {
let
newBoySub
=
[];
let
all
=
{
category_name
:
'全部'
+
item
.
category_name
,
category_id
:
item
.
category_id
,
parent_id
:
item
.
parent_id
,
parent_id
:
item
.
category_id
,
// parent_id: item.parent_id,
relation_parameter
:
item
.
relation_parameter
,
node_count
:
item
.
node_count
,
};
...
...
@@ -81,8 +81,8 @@ function parseCategoryList(json) {
let
newGirlSub
=
[];
let
all
=
{
category_name
:
'全部'
+
item
.
category_name
,
category_id
:
item
.
category_id
,
parent_id
:
item
.
parent_id
,
parent_id
:
item
.
category_id
,
// parent_id: item.parent_id,
relation_parameter
:
item
.
relation_parameter
,
node_count
:
item
.
node_count
,
};
...
...
@@ -109,8 +109,8 @@ function parseCategoryList(json) {
let
newKidsSub
=
[];
let
all
=
{
category_name
:
'全部'
+
item
.
category_name
,
category_id
:
item
.
category_id
,
parent_id
:
item
.
parent_id
,
parent_id
:
item
.
category_id
,
// parent_id: item.parent_id,
relation_parameter
:
item
.
relation_parameter
,
node_count
:
item
.
node_count
,
};
...
...
@@ -137,8 +137,8 @@ function parseCategoryList(json) {
let
newLifestyleSub
=
[];
let
all
=
{
category_name
:
'全部'
+
item
.
category_name
,
category_id
:
item
.
category_id
,
parent_id
:
item
.
parent_id
,
parent_id
:
item
.
category_id
,
// parent_id: item.parent_id,
relation_parameter
:
item
.
relation_parameter
,
node_count
:
item
.
node_count
,
};
...
...
js/classify/services/CategoryService.js
View file @
4bc546e
...
...
@@ -12,7 +12,7 @@ export default class CategoryService {
this
.
api
=
new
Request
(
baseURL
);
}
async
getCategoryList
(
yh_channel
,
fromPage
=
'aFP_Category'
){
return
await
this
.
api
.
pos
t
({
return
await
this
.
api
.
ge
t
({
url
:
''
,
body
:
{
method
:
'app.sort.get'
,
...
...
Please
register
or
login
to post a comment