File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
litemall-admin-api/src/main/java/org/linlinjava/litemall/admin Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ public class CategoryVo {
1010 private String iconUrl ;
1111 private String picUrl ;
1212 private String level ;
13+ private Integer pid ;
1314 private List <CategoryVo > children ;
1415
1516 public List <CategoryVo > getChildren () {
@@ -75,4 +76,12 @@ public String getLevel() {
7576 public void setLevel (String level ) {
7677 this .level = level ;
7778 }
79+
80+ public Integer getPid () {
81+ return pid ;
82+ }
83+
84+ public void setPid (Integer pid ) {
85+ this .pid = pid ;
86+ }
7887}
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ public Object list() {
5656 subCategoryVo .setKeywords (subCategory .getKeywords ());
5757 subCategoryVo .setName (subCategory .getName ());
5858 subCategoryVo .setLevel (subCategory .getLevel ());
59+ subCategoryVo .setPid (subCategory .getPid ());
5960
6061 children .add (subCategoryVo );
6162 }
You can’t perform that action at this time.
0 commit comments