@Component public class ProductCategoryFallBack extends Object implements ProductCategoryService
| 构造器和说明 |
|---|
ProductCategoryFallBack() |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
findById(Long id)
根据ID查找商品分类
|
List<ProductCategoryResp> |
findChildren(Long parentId)
查找下级商品分类
|
List<ProductCategoryResp> |
findList(ProductCategoryReq req)
查找商品分类
|
Response |
findRoots()
查找顶级商品分类
|
public Response findById(Long id)
ProductCategoryServicefindById 在接口中 ProductCategoryServiceid - IDpublic Response findRoots()
ProductCategoryServicefindRoots 在接口中 ProductCategoryServicepublic List<ProductCategoryResp> findList(ProductCategoryReq req)
ProductCategoryServicefindList 在接口中 ProductCategoryServicepublic List<ProductCategoryResp> findChildren(Long parentId)
ProductCategoryServicefindChildren 在接口中 ProductCategoryServiceparentId - 上级商品分类IDCopyright © 2020. All rights reserved.