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
0b0f95f3
Commit
0b0f95f3
authored
Mar 22, 2020
by
Junling Bu
Browse files
Merge branch 'master' of
https://github.com/linlinjava/litemall
parents
cf6f59d8
a3a36d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxCatalogController.java
View file @
0b0f95f3
...
...
@@ -63,7 +63,9 @@ public class WxCatalogController {
if
(
id
!=
null
)
{
currentCategory
=
categoryService
.
findById
(
id
);
}
else
{
currentCategory
=
l1CatList
.
get
(
0
);
if
(
l1CatList
.
size
()
>
0
)
{
currentCategory
=
l1CatList
.
get
(
0
);
}
}
// 当前一级分类目录对应的二级分类目录
...
...
@@ -143,4 +145,4 @@ public class WxCatalogController {
data
.
put
(
"currentSubCategory"
,
currentSubCategory
);
return
ResponseUtil
.
ok
(
data
);
}
}
\ No newline at end of file
}
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