Skip to content

Commit 70a3365

Browse files
committed
change: category id is not used
1 parent 61284ca commit 70a3365

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

blog-consumer/src/main/java/com/hackyle/blog/consumer/service/impl/ArticleCategoryServiceImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public List<CategoryVo> selectCategory() {
6060
List<CategoryVo> categoryVoList = new ArrayList<>();
6161
for (ArticleCategoryPo categoryPo : articleCategoryPos) {
6262
CategoryVo categoryVo = BeanCopyUtils.copy(categoryPo, CategoryVo.class);
63-
categoryVo.setId(IDUtils.encryptByAES(categoryPo.getCategoryId()));
64-
if(null != categoryPo.getParentId()) {
65-
categoryVo.setParentId(IDUtils.encryptByAES(categoryPo.getParentId()));
66-
}
63+
//categoryVo.setId(IDUtils.encryptByAES(categoryPo.getCategoryId()));
64+
//if(null != categoryPo.getParentId()) {
65+
// categoryVo.setParentId(IDUtils.encryptByAES(categoryPo.getParentId()));
66+
//}
6767

6868
categoryVoList.add(categoryVo);
6969
}

0 commit comments

Comments
 (0)