refactor(mall): 移除未使用的函数参数
- 在 TzCategoryServiceImpl 类中移除了 listByParentId 和 listByAncestors 方法的多余参数注释- 这些参数在方法实现中并未使用,移除它们可以提高代码的可读性和维护性
This commit is contained in:
@@ -121,7 +121,6 @@ public class TzCategoryServiceImpl implements ITzCategoryService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据父级ID查询子类信息
|
* 根据父级ID查询子类信息
|
||||||
* @param parentId
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<TzCategoryVo> listByParentId(Long parentId) {
|
public List<TzCategoryVo> listByParentId(Long parentId) {
|
||||||
@@ -130,7 +129,6 @@ public class TzCategoryServiceImpl implements ITzCategoryService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 分类信息列表
|
* 分类信息列表
|
||||||
* @param ancestors
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<TzCategoryVo> listByAncestors(Long ancestors) {
|
public List<TzCategoryVo> listByAncestors(Long ancestors) {
|
||||||
|
|||||||
Reference in New Issue
Block a user