Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
f9f41412
Commit
f9f41412
authored
Aug 10, 2018
by
youc
Browse files
fix
parent
4fc62cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxGoodsController.java
View file @
f9f41412
...
...
@@ -183,7 +183,7 @@ public class WxGoodsController {
if
(
cur
.
getPid
()
==
0
)
{
parent
=
cur
;
children
=
categoryService
.
queryByPid
(
cur
.
getId
());
cur
=
children
.
get
(
0
);
cur
=
children
.
size
()>
0
?
children
.
get
(
0
)
:
cur
;
}
else
{
parent
=
categoryService
.
findById
(
cur
.
getPid
());
children
=
categoryService
.
queryByPid
(
cur
.
getPid
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment